X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56d2f75071fc2a29ec10abe97c5a908bb35f30f4..a07a98dbe53e6fa446dd40b0c5aa4b3c520b442f:/contrib/src/xml/xh_gauge.cpp diff --git a/contrib/src/xml/xh_gauge.cpp b/contrib/src/xml/xh_gauge.cpp index 5a4f227ff8..cefe815ac6 100644 --- a/contrib/src/xml/xh_gauge.cpp +++ b/contrib/src/xml/xh_gauge.cpp @@ -31,6 +31,7 @@ wxGaugeXmlHandler::wxGaugeXmlHandler() ADD_STYLE( wxGA_VERTICAL ); ADD_STYLE( wxGA_PROGRESSBAR ); ADD_STYLE( wxGA_SMOOTH ); // windows only + AddWindowStyles(); } wxObject *wxGaugeXmlHandler::DoCreateResource() @@ -50,11 +51,11 @@ wxObject *wxGaugeXmlHandler::DoCreateResource() } if( HasParam( _T("shadow") )) { - control->SetShadowWidth( GetLong( _T("shadow") )); + control->SetShadowWidth( GetDimension( _T("shadow") )); } if( HasParam( _T("bezel") )) { - control->SetBezelFace( GetLong( _T("bezel") )); + control->SetBezelFace( GetDimension( _T("bezel") )); } SetupWindow(control);