]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statbox.cpp
Rebake after recguard.h added to bakefiles
[wxWidgets.git] / src / univ / statbox.cpp
index e1df45fb23429ef5caf0d13b7bb44e5a12f3c3c6..50a76c02afad1c33bc2ecd2c1bb30500477ee694 100644 (file)
@@ -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)