]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wrapsizer.cpp
declare all NameStr[] strings as const char using the correct WXDLLIMPEXP_DATA_ macro...
[wxWidgets.git] / src / common / wrapsizer.cpp
index 3884201b443317e92e33cd688149b228ce2c5d19..9cb3285cb9747c2ca100d9fc7e9dbf4c84dbc567 100644 (file)
@@ -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