From: Julian Smart Date: Sun, 3 Apr 2005 09:32:30 +0000 (+0000) Subject: Removed unnecessary casts X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4791fafb6d69dda73abc0a92c6a9ab19ce13801a Removed unnecessary casts git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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,