X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/393cbb8ff740a9a708a7241e45992ed0bc2797ee..d40f860378b778081f076e192817ab4e6a7d4e13:/src/gtk/control.cpp

diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp
index 3c005c4329..82f10af912 100644
--- a/src/gtk/control.cpp
+++ b/src/gtk/control.cpp
@@ -7,10 +7,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "control.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/defs.h"
 
 #if wxUSE_CONTROLS