]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/menu.h
Refactoring: no real changes.
[wxWidgets.git] / include / wx / gtk / menu.h
index ee22d137b9ea1505fddc30c812e8b0e3f0da2fdb..f482d01644315675b1a52fb72dff2663b909765e 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __GTKMENUH__
 #define __GTKMENUH__
 
-#ifdef __GNUG__
+#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;