wxMDIChildFrame MSWDestroyWindow

Franky Braem f.braem at skynet.be
Mon May 14 08:28:37 PDT 2007


Vadim Zeitlin wrote:
> On Fri, 11 May 2007 21:11:26 +0200 Franky Braem <f.braem at skynet.be> wrote:
> 
> FB> I run into an assert when I create a wxMDIChildFrame using Create with a 
> FB> wxMDIParentFrame which is not yet created.
> 
>  This looks like a programming error to me. The parent should be created
> before the children, it's simply not going to work otherwise.

Then why is there a default constructor where you don't need to specify 
a parent? When you use the default constructor and stop the program 
because something else goes wrong, you get the assertion because the 
parent wasn't set yet.

Franky.






More information about the wx-users mailing list