]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcscreen.cpp
(blind) fix for gcc 3.4 warning for an always true comparison in an assert
[wxWidgets.git] / src / motif / dcscreen.cpp
index 1da45d5e3935713455f9ae29d709db7bdba5f624..71f3c01e54ecb981801a4a2f9b97b75bec04b936 100644 (file)
@@ -9,10 +9,13 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "dcscreen.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/window.h"
 #include "wx/frame.h"
 #include "wx/dcscreen.h"