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:
@@ -68,7 +68,7 @@ wxWindow *wxMdiXmlHandler::CreateFrame()
|
|||||||
{
|
{
|
||||||
XRC_MAKE_INSTANCE(frame, wxMDIParentFrame);
|
XRC_MAKE_INSTANCE(frame, wxMDIParentFrame);
|
||||||
|
|
||||||
((wxMDIParentFrame*)frame)->Create(m_parentAsWindow,
|
frame->Create(m_parentAsWindow,
|
||||||
GetID(),
|
GetID(),
|
||||||
GetText(wxT("title")),
|
GetText(wxT("title")),
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
@@ -86,7 +86,7 @@ wxWindow *wxMdiXmlHandler::CreateFrame()
|
|||||||
|
|
||||||
XRC_MAKE_INSTANCE(frame, wxMDIChildFrame);
|
XRC_MAKE_INSTANCE(frame, wxMDIChildFrame);
|
||||||
|
|
||||||
((wxMDIChildFrame*) frame)->Create(mdiParent,
|
frame->Create(mdiParent,
|
||||||
GetID(),
|
GetID(),
|
||||||
GetText(wxT("title")),
|
GetText(wxT("title")),
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
|
Reference in New Issue
Block a user