X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e1bcfa80e19ac853b8bc7084075fe3b01e63f03..90d26317f7613d64c81a5b09b578c5144c2bab1b:/include/wx/motif/menu.h diff --git a/include/wx/motif/menu.h b/include/wx/motif/menu.h index fb1b8d8709..e130a1257b 100644 --- a/include/wx/motif/menu.h +++ b/include/wx/motif/menu.h @@ -12,12 +12,13 @@ #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; }