]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/palette.cpp
Don't crash in wxControl::GetLabel when getting the label
[wxWidgets.git] / src / motif / palette.cpp
index 48368b8e349b5a614b7c1e787abcf456e1015d39..ff67a7ff333cf9704005da962cf801137c9f9266 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