]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcmemory.cpp
fix for opening files with VC++ 8 (closes bug 994337)
[wxWidgets.git] / src / motif / dcmemory.cpp
index 451576cf5e3e5f76de932236bc48dc80b0a7a2fb..ce07b8fdd806c74da7a9ae2d4da0b99da8478b8c 100644 (file)
@@ -9,10 +9,13 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "dcmemory.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/dcmemory.h"
 #include "wx/settings.h"
 #include "wx/utils.h"