RE: MDI bugs & Misc

"Michael S. Muegel" <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
Etienne Boucher wrote:

> All this is under Windows XP.
> 
> I had a EVT_UPDATE_UI event that called GetActiveChild() to 
> enable or disable a Close menu item. That works fine with a 
> single MDI child, but if you try to open another, it crashes.
> 
> Also, even though the sample seems to work fine for that, I 
> can't seem to get EVT_CLOSE when pressing the X button of MDI 
> children. I am doing something wrong? And you are probably 
> aware of crash happening when closing any window.

AFAIK there are many known bugs with MDI in wxWidgets 2.5.2. See
http://tinyurl.com/39nk8 for another EVT_UPDATE_UI bug report. I personally
found that the MDI wx.NET sample has issues on Linux right now. While it is
possible your bug is wx.NET -related, my guess is it has more to do with
wxWidgets 2.5.2.

-Mike

--
Michael S. Muegel
Dallas, TX 



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.