X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/600ea9da947140e7dedc2c6b101cfd511f117ae6..7140577b50f951b356cd07393fe970e76eeee88d:/include/wx/msw/menu.h?ds=sidebyside diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index c637dd4b4c..25364af1be 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -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 // -------------------------------