]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/popupwin.cpp
use wxColourDatabase::Find() instead of deprecated FindColour(); some minor code...
[wxWidgets.git] / src / gtk1 / popupwin.cpp
index ace707144e59cf4633af88e28f8ec61afc05b5e9..4c6a9f8cbca8b894f65cd035f1833e94af534ea2 100644 (file)
@@ -7,11 +7,12 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "popupwin.h"
 #endif
 
-#include "wx/defs.h"
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
 
 #if wxUSE_POPUPWIN