]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/palette.cpp
don't lose fonts underlined flag in ReInit() (bug fix for the change in rev. 1.76)
[wxWidgets.git] / src / x11 / palette.cpp
index 67c40ced5400ef64dd7e6d1302f9ad81e82ec8d4..c95becb4b9b64df84b8b99392295ba297b220b4a 100644 (file)
@@ -34,7 +34,7 @@ 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