X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..9d8c2f419f522408a922277df330d4c4511befb9:/contrib/src/xml/xh_gauge.cpp?ds=sidebyside diff --git a/contrib/src/xml/xh_gauge.cpp b/contrib/src/xml/xh_gauge.cpp index 5989d2859f..9e7d7fcf5a 100644 --- a/contrib/src/xml/xh_gauge.cpp +++ b/contrib/src/xml/xh_gauge.cpp @@ -36,26 +36,26 @@ wxGaugeXmlHandler::wxGaugeXmlHandler() wxObject *wxGaugeXmlHandler::DoCreateResource() { - wxGauge *control = new wxGauge(m_ParentAsWindow, + wxGauge *control = new wxGauge(m_parentAsWindow, GetID(), - GetLong( _T("range"), wxGAUGE_DEFAULT_RANGE), + GetLong( wxT("range"), wxGAUGE_DEFAULT_RANGE), GetPosition(), GetSize(), GetStyle(), wxDefaultValidator, GetName() ); - if( HasParam( _T("value") )) + if( HasParam( wxT("value") )) { - control->SetValue( GetLong( _T("value") )); + control->SetValue( GetLong( wxT("value") )); } - if( HasParam( _T("shadow") )) + if( HasParam( wxT("shadow") )) { - control->SetShadowWidth( GetDimension( _T("shadow") )); + control->SetShadowWidth( GetDimension( wxT("shadow") )); } - if( HasParam( _T("bezel") )) + if( HasParam( wxT("bezel") )) { - control->SetBezelFace( GetDimension( _T("bezel") )); + control->SetBezelFace( GetDimension( wxT("bezel") )); } SetupWindow(control); @@ -67,7 +67,7 @@ wxObject *wxGaugeXmlHandler::DoCreateResource() bool wxGaugeXmlHandler::CanHandle(wxXmlNode *node) { - return IsOfClass(node, _T("wxGauge")); + return IsOfClass(node, wxT("wxGauge")); }