wxMac: Modal dialog in main frame constructor

Derek Lee-Wo dleewo at gmail.com
Sun May 4 14:36:04 PDT 2008


>  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 ...

 I was running a release build and from what I can tell from the docs,
 the asserts shouldn't be happening.  Anyway, I also tried a debug
 build and unfortunately the debugger doesn't show anything.

 I also stepped through the code all the way leading up to the call to
 ShowModal() and it all looks good until then, but once I step over the
 ShowModal(), the dialog displays and then I get the blank message
 window.

 Can I assume then that displaying a modal dialog in the main frame
 constructor is *supposed* to work in wxMac?


More information about the wx-users mailing list