wxMac: Modal dialog in main frame constructor

Stefan Csomor csomor at advancedconcepts.ch
Sun May 4 13:20:58 PDT 2008


Hi 

this is most probably an assert/error message trying to make itself heard,
you could try to see in the debugger what the error might be ...

Best,

Stefan

On 04.05.08 20:26, "Derek Lee-Wo" <dleewo at gmail.com> wrote:

> I have an app that displays a modal dialog in the constructor of the
> main frame.  This works fine in wxMSW and wxGTK, but in wxMAC it acts
> very strange.
> 
> The model dialog gets displayed, but then another window pops up.  It
> looks like a wxMessageBox in that is the size looks about the same,
> but it is blank.  Also, the cursor changes to a spinning wheel, but
> just for my app...that is, it's only spinning when I hover over the
> modal dialog or the window that popped up?
> 
> My modal dialog is not responsive nor is the message box that pops up.
> 
> If I bypass this modal and launch it via a menu option, it all works
> fine so I have to assume that launching it from the constructor is the
> problem.  Is it that this is not allowed on wxMAC, or is there some
> magic call I need to make for it to work?
> 
> Thanks
> Derek
> _______________________________________________
> wx-users mailing list
> wx-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wx-users





More information about the wx-users mailing list