]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wrapsizer.cpp
handle correctly never/always shown scrollbars in GetClientSize()
[wxWidgets.git] / src / common / wrapsizer.cpp
index 91a43c2ea57dc8d02ff606968c467c6558a1397e..9cb3285cb9747c2ca100d9fc7e9dbf4c84dbc567 100644 (file)
@@ -68,7 +68,7 @@ private:
 // wxWrapSizer implementation
 // ============================================================================
 
-IMPLEMENT_DYNAMIC_CLASS(wxWrapSizer, wxBoxSizer);
+IMPLEMENT_DYNAMIC_CLASS(wxWrapSizer, wxBoxSizer)
 
 wxWrapSizer::wxWrapSizer(int orient, int flags)
            : wxBoxSizer(orient),
@@ -112,7 +112,7 @@ void wxWrapSizer::ClearRows()
         row->GetChildren().clear();
 
         wxPropChanger * const
-            propChanger = wx_static_cast(wxPropChanger *, item->GetUserData());
+            propChanger = static_cast<wxPropChanger *>(item->GetUserData());
         if ( propChanger )
         {
             // this deletes propChanger and so restores the old proportion