From 3dddebb1cda284e8563be745c4bb90f8108a8794 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Sat, 6 Aug 2005 01:46:32 +0000 Subject: [PATCH] Needs to refresh the affected parts when resized but I think that would involve breaking binary compatibilty. So for now use wxFULL_REPAINT_ON_RESIZE. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/statbox.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/univ/statbox.cpp b/src/univ/statbox.cpp index 20316fc323..50a76c02af 100644 --- a/src/univ/statbox.cpp +++ b/src/univ/statbox.cpp @@ -55,6 +55,9 @@ 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; -- 2.45.2