X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ee31b00ed1aff56aa22f43f65a8604f6937ca37..db16e5c3aae30ee4502d3e0d41eed500af365fe9:/include/wx/mac/gdiobj.h 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()