Add missing implementation of wxScrollBar::SetThumbSize() in wxGTK
This method was declared but never defined somehow, do define it now. Closes https://github.com/wxWidgets/wxWidgets/pull/272
This commit is contained in:
committed by
Vadim Zeitlin
parent
70b64b8c53
commit
1bcc5aa7e4
@@ -222,6 +222,11 @@ void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS
|
||||
g_signal_handlers_unblock_by_func(m_widget, (void*)gtk_value_changed, this);
|
||||
}
|
||||
|
||||
void wxScrollBar::SetThumbSize(int thumbSize)
|
||||
{
|
||||
SetScrollbar(GetThumbPosition(), thumbSize, GetRange(), GetPageSize());
|
||||
}
|
||||
|
||||
void wxScrollBar::SetPageSize( int pageLength )
|
||||
{
|
||||
SetScrollbar(GetThumbPosition(), GetThumbSize(), GetRange(), pageLength);
|
||||
|
Reference in New Issue
Block a user