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.
Change History (7)
Changed 2 years ago by laro
comment:2 in reply to: ↑ 1 Changed 2 years ago by laro
- Status changed from infoneeded_new to new
- Version changed from 3.0.0-rc2 to 3.0.0