]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/glcanvas.cpp
fix for calculating the header window height (patch 805791)
[wxWidgets.git] / src / gtk1 / glcanvas.cpp
index d1ace2efe170cdbddb70e0d0e2502c3c5fd5fad2..f9599d1aa427e75eb1c8e44e92ed4e1e91c2d417 100644 (file)
@@ -9,10 +9,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "glcanvas.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/setup.h"
 
 #if wxUSE_GLCANVAS