X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/768f1af6a29f426b62aa14f854bf4847dc384a7e..158b668823e14d9b42c9e7fe0281d35924192c68:/include/wx/object.h diff --git a/include/wx/object.h b/include/wx/object.h index 8a5f1bb96e..be4a7bbc3f 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -13,7 +13,7 @@ #ifndef _WX_OBJECTH__ #define _WX_OBJECTH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "object.h" #endif @@ -501,7 +501,7 @@ protected: class WXDLLEXPORT wxObjectRefData { - friend class wxObject; + friend class WXDLLEXPORT wxObject; public: wxObjectRefData() : m_count(1) { }