X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..bfbb0b4c77cd55b5d3073ce3392fa4b2fdc39a50:/src/univ/statbmp.cpp diff --git a/src/univ/statbmp.cpp b/src/univ/statbmp.cpp index 8d51038431..f305d9ff2d 100644 --- a/src/univ/statbmp.cpp +++ b/src/univ/statbmp.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "univstatbmp.h" #endif @@ -58,7 +58,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, const wxString &name) { if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) - return FALSE; + return false; // set bitmap first SetBitmap(label); @@ -66,7 +66,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, // and adjust our size to fit it after this SetBestSize(size); - return TRUE; + return true; } // ----------------------------------------------------------------------------