enhancements to wxStackFrame for Linux
Francesco Montorsi
f18m_cpp217828 at yahoo.it
Fri Nov 3 11:40:18 PST 2006
Hi all,
> IMHO the best thing to do would be to use a (generic) wxAssertDialog
Unfortunately using a generic dialog from an assert I'm seeing some very
strange effects (under wxGTK): the dialog is partly not redrawn, it gets
automatically a resize border even if I explicitely used
~wxRESIZE_BORDER, wxCollapsiblePane does not get right size when
expanded, when the user resizes it the controls are not resized, etc etc.
If I create the dialog in a "safe" execution point of a wx sample
however it does show and works right.
So, as Vadim said, maybe using a wx-thing as assert box may not be a
reliable idea.
Nonetheless I really hate having stack frame lines all wrapped under
wxGTK so I'd solve the problem making the generic assert dialog which I
already have created as a C-only plain GTK widget and use it only under
wxGTK.
That hopefully would remove all sorts of problems...
BTW: does anyone knows why from using a wxDialog from
wxGUIAppTraitsBase::ShowAssertDialog() provokes those weird effects?
Thanks,
Francesco
More information about the wx-dev
mailing list