]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_slidr.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / xrc / xh_slidr.cpp
index 9f6e07cf31c479023a3ab8b12aa98e7d5887e7ad..b888d71de995c48c738b0e44ecd4aaa3ae420207 100644 (file)
@@ -63,7 +63,7 @@ wxObject *wxSliderXmlHandler::DoCreateResource()
 
     if( HasParam(wxT("tickfreq")))
     {
 
     if( HasParam(wxT("tickfreq")))
     {
-        control->SetTickFreq(GetLong(wxT("tickfreq")), 0);
+        control->SetTickFreq(GetLong(wxT("tickfreq")));
     }
     if( HasParam(wxT("pagesize")))
     {
     }
     if( HasParam(wxT("pagesize")))
     {