X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..bf25264013271a7827b82be5f6c9afa7fdf444ae:/include/wx/motif/menu.h diff --git a/include/wx/motif/menu.h b/include/wx/motif/menu.h index 50af6f3781..8e4a45a853 100644 --- a/include/wx/motif/menu.h +++ b/include/wx/motif/menu.h @@ -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 @@ -93,7 +93,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;