From cecbb4ec6bd34debacc72c8dcb8b3870b71b7364 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 4 Apr 2005 14:20:25 +0000 Subject: [PATCH] fixed typo in dynamic cast git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/xrc/xh_mdi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.45.2