Ticket #15663 (closed defect: fixed)
wxMDIParentFrame::SetWindowMenu() erroneously calls wxMDIParentFrame::AddWindowMenu()
|Reported by:||laro||Owned by:|
|Keywords:||wxMDIParentFrame, SetWindowMenu, AddWindowMenu, AddMDIChild||Cc:|
AddWindowMenu() should be called only if the number of MDIChildFrames is more than one. Curently AddWindowMenu() crashes when called for the second time in wxMDIParentFrame::AddMDIChild().
BTW, I don't really like hiding the window menu just because there (currently) is no window visible.