X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71908213057690d5452f72b2b9c8e62b53357170..1c3e52af4b9f940848edd92caf2ddffc3d6aff64:/src/univ/statbox.cpp diff --git a/src/univ/statbox.cpp b/src/univ/statbox.cpp index e9fbbd2cac..773f542217 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,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "statbox.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -55,12 +51,15 @@ bool wxStaticBox::Create(wxWindow *parent, long style, const wxString &name) { + // FIXME refresh just the right/bottom parts affected in OnSize + style |= wxFULL_REPAINT_ON_RESIZE; + if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) - return FALSE; + return false; SetLabel(label); - return TRUE; + return true; } void wxStaticBox::DoDraw(wxControlRenderer *renderer)