]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statbox.cpp
some compilers don't like statics in inline functions, even if they're const -- repla...
[wxWidgets.git] / 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;