Old API clearly deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -387,7 +387,7 @@ bool wxFrameBase::ShowMenuHelp(wxStatusBar *WXUNUSED(statbar), int menuId)
|
||||
|
||||
DoGiveHelp(helpString, show);
|
||||
|
||||
return !helpString.IsEmpty();
|
||||
return !helpString.empty();
|
||||
#else // !wxUSE_MENUS
|
||||
return false;
|
||||
#endif // wxUSE_MENUS/!wxUSE_MENUS
|
||||
@@ -563,3 +563,12 @@ void wxFrameBase::SetMenuBar(wxMenuBar *menubar)
|
||||
}
|
||||
|
||||
#endif // wxUSE_MENUS
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_2
|
||||
|
||||
bool wxFrameBase::Command(int winid)
|
||||
{
|
||||
return ProcessCommand(winid);
|
||||
}
|
||||
|
||||
#endif // WXWIN_COMPATIBILITY_2_2
|
||||
|
||||
Reference in New Issue
Block a user