]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/scrolbar.cpp
wxRegConfig::GetEntryType() added and some bugs fixed
[wxWidgets.git] / src / stubs / scrolbar.cpp
index a60274815789bda87effaf4feed9a4a4fac7c600..54df1811666b81aea8a5c83c27507e8fd2250ee8 100644 (file)
@@ -72,7 +72,7 @@ void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS
 
 void wxScrollBar::Command(wxCommandEvent& event)
 {
-    SetPosition(event.m_commandInt);
+    SetThumbPosition(event.m_commandInt);
     ProcessCommand(event);
 }