diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index 9146cb7a8d..306c577fa9 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -166,7 +166,7 @@ wxSize wxSpinButton::DoGetBestSize() const } // ---------------------------------------------------------------------------- -// Attributes +// value and range // ---------------------------------------------------------------------------- int wxSpinButton::GetValue() const @@ -231,6 +231,10 @@ void wxSpinButton::SetRange(int minVal, int maxVal) } } +// ---------------------------------------------------------------------------- +// event generation +// ---------------------------------------------------------------------------- + bool wxSpinButton::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam, WXWORD WXUNUSED(pos), WXHWND control) { @@ -289,6 +293,10 @@ bool wxSpinButton::MSWOnNotify(int WXUNUSED(idCtrl), WXLPARAM lParam, WXLPARAM * return processed; } +// ---------------------------------------------------------------------------- +// increment +// ---------------------------------------------------------------------------- + void wxSpinButton::SetIncrement(int value) { UDACCEL accel;