X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..e7d5dd022c9555a097a14bd42dfc5d57467d0864:/contrib/src/xml/xh_bttn.cpp?ds=sidebyside diff --git a/contrib/src/xml/xh_bttn.cpp b/contrib/src/xml/xh_bttn.cpp index c73b849310..b0c31f12c1 100644 --- a/contrib/src/xml/xh_bttn.cpp +++ b/contrib/src/xml/xh_bttn.cpp @@ -32,14 +32,14 @@ wxButtonXmlHandler::wxButtonXmlHandler() wxObject *wxButtonXmlHandler::DoCreateResource() { - wxButton *button = new wxButton(m_ParentAsWindow, + wxButton *button = new wxButton(m_parentAsWindow, GetID(), - GetText(_T("label")), + GetText(wxT("label")), GetPosition(), GetSize(), GetStyle(), wxDefaultValidator, GetName()); - if (GetBool(_T("default"), 0) == 1) button->SetDefault(); + if (GetBool(wxT("default"), 0) == 1) button->SetDefault(); SetupWindow(button); return button; @@ -49,7 +49,7 @@ wxObject *wxButtonXmlHandler::DoCreateResource() bool wxButtonXmlHandler::CanHandle(wxXmlNode *node) { - return IsOfClass(node, _T("wxButton")); + return IsOfClass(node, wxT("wxButton")); }