]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/menu.h
added wxVListBox::OnDrawBackground(); fixed warnings
[wxWidgets.git] / include / wx / motif / menu.h
index fb1b8d870984b66afae149b5f0b6d5f1bcb96ccb..e130a1257be8b2044d15ac413a8e2eae172c53b6 100644 (file)
 #ifndef _WX_MOTIF_MENU_H_
 #define _WX_MOTIF_MENU_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "menu.h"
 #endif
 
 #include "wx/colour.h"
 #include "wx/font.h"
+#include "wx/arrstr.h"
 
 class wxFrame;
 
@@ -47,14 +48,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; }