X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..00b2a5df9502adfd9a14ce01ab603f7906984995:/contrib/src/xml/xh_scrol.cpp diff --git a/contrib/src/xml/xh_scrol.cpp b/contrib/src/xml/xh_scrol.cpp index e3c46c8b3f..c614a6b9dd 100644 --- a/contrib/src/xml/xh_scrol.cpp +++ b/contrib/src/xml/xh_scrol.cpp @@ -33,17 +33,17 @@ wxScrollBarXmlHandler::wxScrollBarXmlHandler() wxObject *wxScrollBarXmlHandler::DoCreateResource() { - wxScrollBar *control = new wxScrollBar(m_ParentAsWindow, + wxScrollBar *control = new wxScrollBar(m_parentAsWindow, GetID(), GetPosition(), GetSize(), GetStyle(), wxDefaultValidator, GetName() ); - control->SetScrollbar(GetLong( _T("value"), 0), - GetLong( _T("thumbsize"),1), - GetLong( _T("range"), 10), - GetLong( _T("pagesize"),1) + control->SetScrollbar(GetLong( wxT("value"), 0), + GetLong( wxT("thumbsize"),1), + GetLong( wxT("range"), 10), + GetLong( wxT("pagesize"),1) ); @@ -56,7 +56,7 @@ wxObject *wxScrollBarXmlHandler::DoCreateResource() bool wxScrollBarXmlHandler::CanHandle(wxXmlNode *node) { - return IsOfClass(node, _T("wxScrollBar")); + return IsOfClass(node, wxT("wxScrollBar")); }