Removed unnecessary casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6def7a17b0
commit
4791fafb6d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user