]> git.saurik.com Git - wxWidgets.git/commitdiff
Needs to refresh the affected parts when resized but I think that would involve
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 6 Aug 2005 01:46:32 +0000 (01:46 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 6 Aug 2005 01:46:32 +0000 (01:46 +0000)
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

index 20316fc323fb0866e5f23f4a1d1b4b3024a86b72..50a76c02afad1c33bc2ecd2c1bb30500477ee694 100644 (file)
@@ -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;