]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dc.cpp
Added missing include.
[wxWidgets.git] / src / motif / dc.cpp
index cc5c5359a40be7d4cef5683d2b29c5bc72abf11f..32ce97426aba08ccb8205ec21c7ed91622f6fd17 100644 (file)
@@ -9,10 +9,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "dc.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/dc.h"
 #include "wx/dcmemory.h"
 #include "wx/defs.h"