Ticket #59 (closed defect)
Menubar of Maximized Childwindow in MDI
| Reported by: | walky_one | Owned by: | vadz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxMSW | Version: | |
| Keywords: | Cc: | walky_one, vadz | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
at destruction of the Menu (wxWindows::MSWDetachWindowMenu) the Controls of the Childwindow do also count as MenuItems, so the first attempt of GetMenuString() results in an error because it's trying to get the string of the child window icon.
Beside this, it's quite ugly code if u ask me: The last item that get's deleted is the "&Window"-item. What if I want to have a "Help" item to its right?
No need to do this immediatly, works well without a Memory leak.... still it's not the most beautiful part of wxWindows....
Change History
Note: See
TracTickets for help on using
tickets.
