X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6b0af42a0d7281a1403f0a4a6e52a43042c405c..bebb14d53dc0efbf04e57934a70ae39e10819d96:/contrib/src/xml/xh_gauge.cpp diff --git a/contrib/src/xml/xh_gauge.cpp b/contrib/src/xml/xh_gauge.cpp index 5a4f227ff8..14394613ad 100644 --- a/contrib/src/xml/xh_gauge.cpp +++ b/contrib/src/xml/xh_gauge.cpp @@ -50,11 +50,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);