]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/menu.h
moved some more stuff from .cpp files to here
[wxWidgets.git] / include / wx / gtk1 / menu.h
index ee22d137b9ea1505fddc30c812e8b0e3f0da2fdb..d2d836ed7e18ee7b7c2fc553722966798b8fceab 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __GTKMENUH__
 #define __GTKMENUH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #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;