]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/menu.h
Refactoring: no real changes.
[wxWidgets.git] / include / wx / gtk / menu.h
index afc85c0a0c0a6d81bfff88c0d6f5be4f05259713..f482d01644315675b1a52fb72dff2663b909765e 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __GTKMENUH__
 #define __GTKMENUH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "menu.h"
 #endif
 
@@ -80,17 +80,6 @@ public:
 
     // TODO: virtual void SetTitle(const wxString& title);
 
-    // compatibility only
-#if wxUSE_MENU_CALLBACK
-    wxMenu(const wxString& title, const wxFunction func)
-        : wxMenuBase(title)
-    {
-        Init();
-
-        Callback(func);
-    }
-#endif // WXWIN_COMPATIBILITY_2
-
     // implementation
     int FindMenuIdByMenuItem( GtkWidget *menuItem ) const;