X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..b3402d0df8c9f763da1e32fc28c824014e5516c6:/src/stubs/scrolbar.cpp diff --git a/src/stubs/scrolbar.cpp b/src/stubs/scrolbar.cpp index 0058a14f53..dca07b3b79 100644 --- a/src/stubs/scrolbar.cpp +++ b/src/stubs/scrolbar.cpp @@ -15,10 +15,8 @@ #include "wx/scrolbar.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl) -#endif // Scrollbar bool wxScrollBar::Create(wxWindow *parent, wxWindowID id, @@ -48,12 +46,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 +70,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); }