X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..222702b112dcc7bebe018d6f4d66fe469fefd02c:/src/univ/theme.cpp?ds=sidebyside diff --git a/src/univ/theme.cpp b/src/univ/theme.cpp index f20dbf3eb4..ba0749f97d 100644 --- a/src/univ/theme.cpp +++ b/src/univ/theme.cpp @@ -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)