X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..9d8c2f419f522408a922277df330d4c4511befb9:/contrib/src/xml/xh_dlg.cpp diff --git a/contrib/src/xml/xh_dlg.cpp b/contrib/src/xml/xh_dlg.cpp index 62b971a4e7..045093f899 100644 --- a/contrib/src/xml/xh_dlg.cpp +++ b/contrib/src/xml/xh_dlg.cpp @@ -48,15 +48,15 @@ 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(_T("title")), + GetText(wxT("title")), wxDefaultPosition, wxDefaultSize, - GetStyle(_T("style"), wxDEFAULT_DIALOG_STYLE), + GetStyle(wxT("style"), wxDEFAULT_DIALOG_STYLE), GetName()); dlg->SetClientSize(GetSize()); dlg->Move(GetPosition()); @@ -74,7 +74,7 @@ wxObject *wxDialogXmlHandler::DoCreateResource() bool wxDialogXmlHandler::CanHandle(wxXmlNode *node) { - return IsOfClass(node, _T("wxDialog")); + return IsOfClass(node, wxT("wxDialog")); }