X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ee31b00ed1aff56aa22f43f65a8604f6937ca37..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/gdiobj.h?ds=sidebyside diff --git a/include/wx/mac/gdiobj.h b/include/wx/mac/gdiobj.h index 3a90093725..0e1893f462 100644 --- a/include/wx/mac/gdiobj.h +++ b/include/wx/mac/gdiobj.h @@ -12,12 +12,12 @@ #ifndef _WX_GDIOBJ_H_ #define _WX_GDIOBJ_H_ -#include "wx/object.h" - -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "gdiobj.h" #endif +#include "wx/object.h" + class WXDLLEXPORT wxGDIRefData: public wxObjectRefData { public: inline wxGDIRefData()