X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/573bd31feb9602c32eeb5b4036f35050249dc394..fcdd53359135f790b85728c4254b97095a56dad8:/src/common/wrapsizer.cpp diff --git a/src/common/wrapsizer.cpp b/src/common/wrapsizer.cpp index 3884201b44..9cb3285cb9 100644 --- a/src/common/wrapsizer.cpp +++ b/src/common/wrapsizer.cpp @@ -112,7 +112,7 @@ void wxWrapSizer::ClearRows() row->GetChildren().clear(); wxPropChanger * const - propChanger = wx_static_cast(wxPropChanger *, item->GetUserData()); + propChanger = static_cast(item->GetUserData()); if ( propChanger ) { // this deletes propChanger and so restores the old proportion