From 4791fafb6d69dda73abc0a92c6a9ab19ce13801a Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 3 Apr 2005 09:32:30 +0000 Subject: [PATCH] Removed unnecessary casts git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/xrc/xh_mdi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrc/xh_mdi.cpp b/src/xrc/xh_mdi.cpp index 21010352f7..ef69b476a2 100644 --- a/src/xrc/xh_mdi.cpp +++ b/src/xrc/xh_mdi.cpp @@ -68,7 +68,7 @@ wxWindow *wxMdiXmlHandler::CreateFrame() { XRC_MAKE_INSTANCE(frame, wxMDIParentFrame); - ((wxMDIParentFrame*)frame)->Create(m_parentAsWindow, + frame->Create(m_parentAsWindow, GetID(), GetText(wxT("title")), wxDefaultPosition, wxDefaultSize, @@ -86,7 +86,7 @@ wxWindow *wxMdiXmlHandler::CreateFrame() XRC_MAKE_INSTANCE(frame, wxMDIChildFrame); - ((wxMDIChildFrame*) frame)->Create(mdiParent, + frame->Create(mdiParent, GetID(), GetText(wxT("title")), wxDefaultPosition, wxDefaultSize, -- 2.45.2