From: Vadim Zeitlin Date: Thu, 4 Aug 2005 20:35:09 +0000 (+0000) Subject: removed wxUSE_MENU_CALLBACK references: the code inside the #if couldn't compile... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3df732cd473eb29e12ce374afe074c404a86f55e removed wxUSE_MENU_CALLBACK references: the code inside the #if couldn't compile anyhow as wxFunction isn't defined in wx since quite some time now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index 953c23f71c..1fb889ac75 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -69,17 +69,6 @@ public: virtual void SetTitle(const wxString& title); - // deprecated functions -#if wxUSE_MENU_CALLBACK - wxMenu(const wxString& title, const wxFunction func) - : wxMenuBase(title) - { - Init(); - - Callback(func); - } -#endif // wxUSE_MENU_CALLBACK - // implementation only from now on // ------------------------------- diff --git a/include/wx/palmos/menu.h b/include/wx/palmos/menu.h index 897dd7a88b..ff4bbb5bd3 100644 --- a/include/wx/palmos/menu.h +++ b/include/wx/palmos/menu.h @@ -55,17 +55,6 @@ public: virtual void SetTitle(const wxString& title); - // deprecated functions -#if wxUSE_MENU_CALLBACK - wxMenu(const wxString& title, const wxFunction func) - : wxMenuBase(title) - { - Init(); - - Callback(func); - } -#endif // wxUSE_MENU_CALLBACK - // implementation only from now on // -------------------------------