]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/window.cpp
added support for gcc precompiled headers
[wxWidgets.git] / src / gtk1 / window.cpp
index 475c06f37f12eaff0024c622659ed0271def3713..9b8fc44a59ffbeb5b728486dcef0184156174184 100644 (file)
@@ -8,15 +8,17 @@
 /////////////////////////////////////////////////////////////////////////////
 
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "window.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #ifdef __VMS
 #define XWarpPointer XWARPPOINTER
 #endif
 
-#include "wx/defs.h"
 #include "wx/window.h"
 #include "wx/dcclient.h"
 #include "wx/frame.h"