X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b821344e132446232bbd459ada81415903550464..ec75d791f043b3b43cac9825a2c62e9d5321e616:/include/wx/mac/frame.h diff --git a/include/wx/mac/frame.h b/include/wx/mac/frame.h index 95ddac84d1..1005712dd7 100644 --- a/include/wx/mac/frame.h +++ b/include/wx/mac/frame.h @@ -12,7 +12,7 @@ #ifndef _WX_FRAME_H_ #define _WX_FRAME_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "frame.h" #endif @@ -113,6 +113,9 @@ protected: virtual void DoGetClientSize(int *width, int *height) const; virtual void DoSetClientSize(int width, int height); + virtual void DetachMenuBar(); + virtual void AttachMenuBar(wxMenuBar *menubar); + protected: #if wxUSE_STATUSBAR static bool m_useNativeStatusBar;