X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a67a93b17c37c018f60e662645ee2a44ba4e58e..ec75d791f043b3b43cac9825a2c62e9d5321e616:/include/wx/mac/mdi.h?ds=sidebyside diff --git a/include/wx/mac/mdi.h b/include/wx/mac/mdi.h index ec727aa331..3886829522 100644 --- a/include/wx/mac/mdi.h +++ b/include/wx/mac/mdi.h @@ -14,7 +14,7 @@ #ifndef _WX_MDI_H_ #define _WX_MDI_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "mdi.h" #endif @@ -28,9 +28,8 @@ class WXDLLEXPORT wxMDIChildFrame; class WXDLLEXPORT wxMDIParentFrame: public wxFrame { -DECLARE_DYNAMIC_CLASS(wxMDIParentFrame) + DECLARE_DYNAMIC_CLASS(wxMDIParentFrame) - friend class WXDLLEXPORT wxMDIChildFrame; public: wxMDIParentFrame();