]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
pragma , precomp support
[wxWidgets.git] / src / common / framecmn.cpp
index 0020580068af974a7aa254ebdabaffec33cf8ae7..017c25578c2bb6b9a0a6d020caccf218d352ba6f 100644 (file)
@@ -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