]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/theme.cpp
compilation fix for systems with XtIMSignal
[wxWidgets.git] / src / univ / theme.cpp
index f20dbf3eb42db1ba8c641469c1d53da2152a1ee8..ba0749f97dcfb618c541750593bdb7459d41ce67 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "theme.h"
 #endif
 
@@ -86,7 +86,7 @@ wxThemeInfo::wxThemeInfo(Constructor c,
     if ( ms_theme )
     {
         // we already have a theme
-        return TRUE;
+        return true;
     }
 
     wxString nameDefTheme;
@@ -121,13 +121,13 @@ wxThemeInfo::wxThemeInfo(Constructor c,
     {
         wxLogError(_("Failed to initialize GUI: no built-in themes found."));
 
-        return FALSE;
+        return false;
     }
 
     // Set the theme as current.
     wxTheme::Set(theme);
 
-    return TRUE;
+    return true;
 }
 
 /* static */ wxTheme *wxTheme::Set(wxTheme *theme)