]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/frame.h
fixed wxALL_FILES definition in Unicode build
[wxWidgets.git] / include / wx / frame.h
index 2af6cd1d8dde76a80adf04e22d4c3dd7f0368a82..4228ea0c103d18b5656e614a13789c3ce3b43261 100644 (file)
@@ -86,8 +86,10 @@ public:
     virtual wxMenuBar *GetMenuBar() const { return m_frameMenuBar; }
 #endif // wxUSE_MENUS
 
+#ifdef WXWIN_COMPATIBILITY_2_2
     // call this to simulate a menu command
     bool Command(int id) { return ProcessCommand(id); }
+#endif // WXWIN_COMPATIBILITY_2_2
 
     // process menu command: returns TRUE if processed
     bool ProcessCommand(int id);