X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1540e053dd87095c23c1d9a42db4f395621af240..9d8c2f419f522408a922277df330d4c4511befb9:/contrib/src/xml/xh_frame.cpp diff --git a/contrib/src/xml/xh_frame.cpp b/contrib/src/xml/xh_frame.cpp index dd56ad7004..5c9faea52d 100644 --- a/contrib/src/xml/xh_frame.cpp +++ b/contrib/src/xml/xh_frame.cpp @@ -52,11 +52,11 @@ wxFrameXmlHandler::wxFrameXmlHandler() : wxXmlResourceHandler() wxObject *wxFrameXmlHandler::DoCreateResource() { - wxFrame *frame = wxDynamicCast(m_Instance, wxFrame); + wxFrame *frame = wxDynamicCast(m_instance, wxFrame); wxASSERT_MSG(frame, _("XML resource: Cannot create dialog without instance.")); - frame->Create(m_ParentAsWindow, + frame->Create(m_parentAsWindow, GetID(), GetText(_T("title")), wxDefaultPosition, wxDefaultSize,