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)
);
bool wxScrollBarXmlHandler::CanHandle(wxXmlNode *node)
{
- return IsOfClass(node, _T("wxScrollBar"));
+ return IsOfClass(node, wxT("wxScrollBar"));
}