remove the recently added MSWFindMenuBarItem() as we already had FindItemInMenuBar() for the same purpose; just change the latter to return a non-const pointer; this fixes help string display in the status bar for the window menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -104,8 +104,8 @@ public:
|
||||
|
||||
#if wxUSE_MENUS
|
||||
// override wxFrameBase function to also look in the active child menu bar
|
||||
virtual const wxMenuItem *FindItemInMenuBar(int menuId) const;
|
||||
virtual wxMenuItem *MSWFindMenuBarItem(WXWORD id);
|
||||
// and the "Window" menu
|
||||
virtual wxMenuItem *FindItemInMenuBar(int menuId) const;
|
||||
#endif // wxUSE_MENUS
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user