]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_html.cpp
added wxXmlResourceHandler::GetDimension for 1D values that may be in dialog units
[wxWidgets.git] / contrib / src / xml / xh_html.cpp
index ed0a5bcf4c5d7b6034a095e98fa3d5ab66593eb2..ca1b9bac2ffb4a6a51c1a841878ecc11afab644b 100644 (file)
@@ -44,7 +44,7 @@ wxObject *wxHtmlWindowXmlHandler::DoCreateResource()
 
     if( HasParam( _T("borders") ))
     {
-        control->SetBorders( GetLong( _T("borders" )));
+        control->SetBorders( GetDimension( _T("borders" )));
     }
 
     if( HasParam( _T("url") ))