Make section comments in wxSpinButton more accurate

No changes whatsoever, just improve the comments to correspond to the
actual functions under them.
This commit is contained in:
Vadim Zeitlin 2023-07-08 20:15:38 +01:00
parent 83f5b6f3c6
commit 0130a066df

View file

@ -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;