]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed unnecessary casts
authorJulian Smart <julian@anthemion.co.uk>
Sun, 3 Apr 2005 09:32:30 +0000 (09:32 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 3 Apr 2005 09:32:30 +0000 (09:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xh_mdi.cpp

index 21010352f700e1c97eb8c9f9010ea3cbf240d949..ef69b476a2d69806d526ba4f57652811e106e15c 100644 (file)
@@ -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,