X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..c81fc3344d20fd3335ccea52557834d2c859944d:/src/univ/statbmp.cpp diff --git a/src/univ/statbmp.cpp b/src/univ/statbmp.cpp index ec00a57086..f305d9ff2d 100644 --- a/src/univ/statbmp.cpp +++ b/src/univ/statbmp.cpp @@ -5,8 +5,8 @@ // Modified by: // Created: 25.08.00 // RCS-ID: $Id$ -// Copyright: (c) 2000 Vadim Zeitlin -// Licence: wxWindows license +// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -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; } // ----------------------------------------------------------------------------