X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67d947ba89b176c05c7707f44e4381bdef0f21c8..ecd20d4a916884895dcd8873a9f1156e34f4ac89:/src/univ/statbox.cpp diff --git a/src/univ/statbox.cpp b/src/univ/statbox.cpp index 0f878f5685..20316fc323 100644 --- a/src/univ/statbox.cpp +++ b/src/univ/statbox.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,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "univstatbox.h" #endif @@ -56,13 +56,11 @@ bool wxStaticBox::Create(wxWindow *parent, const wxString &name) { if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) - return FALSE; - - m_hasDialogBackground = TRUE; + return false; SetLabel(label); - return TRUE; + return true; } void wxStaticBox::DoDraw(wxControlRenderer *renderer)