X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..91b8de8dee3e7ae3c4edc0ab0923b84bba20d9c4:/src/stubs/scrolbar.cpp diff --git a/src/stubs/scrolbar.cpp b/src/stubs/scrolbar.cpp index 0058a14f53..54df181166 100644 --- a/src/stubs/scrolbar.cpp +++ b/src/stubs/scrolbar.cpp @@ -48,12 +48,12 @@ wxScrollBar::~wxScrollBar() { } -void wxScrollBar::SetPosition(int viewStart) +void wxScrollBar::SetThumbPosition(int viewStart) { // TODO } -int wxScrollBar::GetPosition() const +int wxScrollBar::GetThumbPosition() const { // TODO return 0; @@ -72,7 +72,7 @@ void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS void wxScrollBar::Command(wxCommandEvent& event) { - SetValue(event.m_commandInt); + SetThumbPosition(event.m_commandInt); ProcessCommand(event); }