]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/region.cpp
Not all implementations of wxMDIChildFrame derive from wxFrame
[wxWidgets.git] / src / gtk1 / region.cpp
index f9ac057cbe1d6ed514995bd9de0afac3b3d5ac36..5807eabbeec9a3062d06f9e800c7521540f16c52 100644 (file)
@@ -12,7 +12,7 @@
 // declarations
 // ============================================================================
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "region.h"
 #endif
 
 // headers
 // ----------------------------------------------------------------------------
 
-#include "wx/log.h"
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
 
 #include "wx/region.h"
-
+#include "wx/log.h"
 #include "wx/gtk/private.h"
 
 #ifndef __WXGTK20__