]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/menu.h
1. some minor compilation fixes in datetime.cppm
[wxWidgets.git] / include / wx / msw / menu.h
index c637dd4b4cf53e6c454ac357589a430e94b3c760..25364af1be81a15cba3285c69a4510a55d2999f0 100644 (file)
@@ -49,16 +49,17 @@ public:
 
     virtual void SetTitle(const wxString& title);
 
-    // MSW-specific
-    bool ProcessCommand(wxCommandEvent& event);
-
-#if WXWIN_COMPATIBILITY
+    // deprecated functions
+#if wxUSE_MENU_CALLBACK
     wxMenu(const wxString& title, const wxFunction func)
         : wxMenuBase(title)
     {
         Callback(func);
     }
-#endif // WXWIN_COMPATIBILITY
+#endif // wxUSE_MENU_CALLBACK
+
+    // MSW-specific
+    bool ProcessCommand(wxCommandEvent& event);
 
     // implementation only from now on
     // -------------------------------