X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67d947ba89b176c05c7707f44e4381bdef0f21c8..c77a67962c2f50a872491869fcf1a6c082fdc6c6:/src/univ/statbmp.cpp?ds=sidebyside diff --git a/src/univ/statbmp.cpp b/src/univ/statbmp.cpp index ee56f372a5..6177e7065b 100644 --- a/src/univ/statbmp.cpp +++ b/src/univ/statbmp.cpp @@ -6,7 +6,7 @@ // Created: 25.08.00 // RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univstatbmp.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -58,9 +54,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, const wxString &name) { if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) - return FALSE; - - m_hasDialogBackground = TRUE; + return false; // set bitmap first SetBitmap(label); @@ -68,7 +62,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, // and adjust our size to fit it after this SetBestSize(size); - return TRUE; + return true; } // ----------------------------------------------------------------------------