]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dc.cpp
don't call SelectObject() twice in SetBrush() nor SetFont() neither
[wxWidgets.git] / src / gtk1 / dc.cpp
index aa54a1ae8e1605f765e0fe29fafa97ead190700d..11b2991b4057c284018c4a3b81b9ac70cfe6b25b 100644 (file)
@@ -8,10 +8,13 @@
 /////////////////////////////////////////////////////////////////////////////
 
 
-#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 <gdk/gdk.h>