]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dialog.cpp
added support for gcc precompiled headers
[wxWidgets.git] / src / gtk / dialog.cpp
index 4c95d23682ab9e55ba9d46df4d43300d0993de6c..644f2a89949e172f1ac781eba31d32363028a21b 100644 (file)
@@ -7,10 +7,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "dialog.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/dialog.h"
 #include "wx/frame.h"
 #include "wx/app.h"