]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/scrolbar.cpp
New configure
[wxWidgets.git] / src / stubs / scrolbar.cpp
index 0058a14f53583ade1e186d2a0b3657bd787696bb..307cdefc136adefd37a569261bf1275902475c10 100644 (file)
@@ -72,7 +72,7 @@ void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS
 
 void wxScrollBar::Command(wxCommandEvent& event)
 {
-    SetValue(event.m_commandInt);
+    SetPosition(event.m_commandInt);
     ProcessCommand(event);
 }