]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/theme.cpp
cleanup - reformat
[wxWidgets.git] / src / univ / theme.cpp
index f20dbf3eb42db1ba8c641469c1d53da2152a1ee8..ec64045d058492456e22bbf93ee76dcf60893233 100644 (file)
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
-    #pragma implementation "theme.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -86,7 +82,7 @@ wxThemeInfo::wxThemeInfo(Constructor c,
     if ( ms_theme )
     {
         // we already have a theme
-        return TRUE;
+        return true;
     }
 
     wxString nameDefTheme;
@@ -121,13 +117,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)