From: Václav Slavík Date: Mon, 4 Apr 2005 14:20:25 +0000 (+0000) Subject: fixed typo in dynamic cast X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cecbb4ec6bd34debacc72c8dcb8b3870b71b7364 fixed typo in dynamic cast git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/xrc/xh_mdi.cpp b/src/xrc/xh_mdi.cpp index 980367b19d..7a581f8077 100644 --- a/src/xrc/xh_mdi.cpp +++ b/src/xrc/xh_mdi.cpp @@ -107,7 +107,7 @@ wxObject *wxMdiXmlHandler::DoCreateResource() frame->Move(GetPosition()); if (HasParam(wxT("icon"))) { - wxFrame* f = wxDynamicCast(f, wxFrame); + wxFrame* f = wxDynamicCast(frame, wxFrame); if (f) f->SetIcon(GetIcon(wxT("icon"), wxART_FRAME_ICON)); }