X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a559d70856c65f8fd91d6e56c3e98c3828e18db7..8173fefe0a9d61cfe5244a301044aa2269bc1c31:/contrib/src/xml/xh_dlg.cpp?ds=inline diff --git a/contrib/src/xml/xh_dlg.cpp b/contrib/src/xml/xh_dlg.cpp index 6110b807e7..045093f899 100644 --- a/contrib/src/xml/xh_dlg.cpp +++ b/contrib/src/xml/xh_dlg.cpp @@ -48,11 +48,11 @@ wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler() wxObject *wxDialogXmlHandler::DoCreateResource() { - wxDialog *dlg = wxDynamicCast(m_Instance, wxDialog); + wxDialog *dlg = wxDynamicCast(m_instance, wxDialog); wxASSERT_MSG(dlg, _("XML resource: Cannot create dialog without instance.")); - dlg->Create(m_ParentAsWindow, + dlg->Create(m_parentAsWindow, GetID(), GetText(wxT("title")), wxDefaultPosition, wxDefaultSize,