X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dcaf11a7b5189be78e52e1412febd7689a959f8..22d6efa851642c6a69174278fc50f712f41e2271:/src/gtk/menu.cpp diff --git a/src/gtk/menu.cpp b/src/gtk/menu.cpp index b41ead44f4..1fec1d74fc 100644 --- a/src/gtk/menu.cpp +++ b/src/gtk/menu.cpp @@ -638,11 +638,9 @@ IMPLEMENT_DYNAMIC_CLASS(wxMenu,wxEvtHandler) void wxMenu::Init( const wxString& title, - long style -#ifdef WXWIN_COMPATIBILITY - , const wxFunction func -#endif - ) + long style, + const wxFunction func + ) { m_title = title; m_items.DeleteContents( TRUE ); @@ -657,9 +655,7 @@ wxMenu::Init( const wxString& title, m_menu = gtk_menu_new(); // Do not show! #endif -#ifdef WXWIN_COMPATIBILITY m_callback = func; -#endif m_eventHandler = this; m_clientData = (void*) NULL;