X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac32ba44a150c9de37a9b56ef7cb10521d0e9347..ede3a6d68af66772b4f5f94208b4126bab566cc8:/src/common/bmpbase.cpp diff --git a/src/common/bmpbase.cpp b/src/common/bmpbase.cpp index 951ff347c7..d0433e483d 100644 --- a/src/common/bmpbase.cpp +++ b/src/common/bmpbase.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "bitmapbase.h" #endif @@ -19,7 +19,7 @@ #pragma hdrstop #endif -#if defined(__WXMGL__) || defined(__WXMAC__) \ +#if defined(__WXMGL__) || defined(__WXMAC__) || defined(__WXGTK__) \ || defined(__WXMOTIF__) || defined(__WXX11__) #include "wx/setup.h" @@ -52,10 +52,10 @@ bool wxBitmapBase::RemoveHandler(const wxString& name) if ( handler ) { sm_handlers.DeleteObject(handler); - return TRUE; + return true; } else - return FALSE; + return false; } wxBitmapHandler *wxBitmapBase::FindHandler(const wxString& name) @@ -116,7 +116,7 @@ class wxBitmapBaseModule: public wxModule DECLARE_DYNAMIC_CLASS(wxBitmapBaseModule) public: wxBitmapBaseModule() {} - bool OnInit() { wxBitmap::InitStandardHandlers(); return TRUE; }; + bool OnInit() { wxBitmap::InitStandardHandlers(); return true; }; void OnExit() { wxBitmap::CleanUpHandlers(); }; };