]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/mdi.cpp
Commited slighly modified fix by David Parsons.
[wxWidgets.git] / src / gtk1 / mdi.cpp
index 8cf797cd63e507f9bc87e7fb3a564db43aa363ad..6f88db3f39d768d5060319e52437dff89217d218 100644 (file)
@@ -7,10 +7,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "mdi.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/mdi.h"
 
 #if wxUSE_MDI_ARCHITECTURE