X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..81f6ea4a29eb815dbed0adea369efdc8fece0269:/src/univ/theme.cpp diff --git a/src/univ/theme.cpp b/src/univ/theme.cpp index 143966ceef..ec64045d05 100644 --- a/src/univ/theme.cpp +++ b/src/univ/theme.cpp @@ -6,7 +6,7 @@ // Created: 06.08.00 // RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // =========================================================================== @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #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)