// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "gdiobj.h"
#endif
+#include "wx/wxprec.h"
+
#include "wx/gdiobj.h"
#if !USE_SHARED_LIBRARIES