X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..5cb61fed97c78e0399ba18457e45b51f8eb15edf:/src/univ/statbox.cpp diff --git a/src/univ/statbox.cpp b/src/univ/statbox.cpp index e1df45fb23..50a76c02af 100644 --- a/src/univ/statbox.cpp +++ b/src/univ/statbox.cpp @@ -55,12 +55,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)