]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statbox.cpp
Changed behaviour of wxImageResizeQuality parameter in wxImage.Scale and wxImage...
[wxWidgets.git] / src / univ / statbox.cpp
index 20316fc323fb0866e5f23f4a1d1b4b3024a86b72..1241fe2638fddfba06db866603d875a29f805833 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "univstatbox.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
@@ -41,8 +37,6 @@
 // implementation
 // ============================================================================
 
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
 // ----------------------------------------------------------------------------
 // wxStaticBox
 // ----------------------------------------------------------------------------
@@ -55,6 +49,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;