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