]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/menu.h
added support for POST method and alternate ports (part of patch 649438)
[wxWidgets.git] / include / wx / motif / menu.h
index 50af6f378102d70aa6f2aba1252ea4afde5f83f1..9db851bab5c9f80ca8c10214368dd80c6f79e932 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MOTIF_MENU_H_
 #define _WX_MOTIF_MENU_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "menu.h"
 #endif
 
@@ -47,14 +47,6 @@ public:
     
     bool ProcessCommand(wxCommandEvent& event);
     
-    wxMenu(const wxString& title, const wxFunction func)
-        : wxMenuBase(title)
-    {
-        Init();
-        
-        Callback(func);
-    }
-    
     //// Motif-specific
     WXWidget GetButtonWidget() const { return m_buttonWidget; }
     void SetButtonWidget(WXWidget buttonWidget) { m_buttonWidget = buttonWidget; }
@@ -93,7 +85,8 @@ public:
     WXWidget GetHandle() const { return m_menuWidget; }
     
     bool IsTearOff() const { return (m_style & wxMENU_TEAROFF) != 0; }
-    
+
+    void DestroyWidgetAndDetach();
 public:
     // Motif-specific data
     int               m_numColumns;