]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/palette.cpp
use ResetClipping() instead of simply setting m_clipping to false; added call to...
[wxWidgets.git] / src / motif / palette.cpp
index 48368b8e349b5a614b7c1e787abcf456e1015d39..7ede19b4c97fd4eff3c8830deb07cc07be25c7df 100644 (file)
@@ -34,10 +34,13 @@ recommended; only the window manager should do this...  Also, it is
 not the functionality that wxPalette::Create() aims to provide.
  */
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "palette.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/palette.h"
 #include "wx/window.h"
 #include "wx/app.h"