git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40666
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
GtkAdjustment* adj = range->adjustment;
const int pos = int(adj->value + 0.5);
{
GtkAdjustment* adj = range->adjustment;
const int pos = int(adj->value + 0.5);
- gtk_range_set_value(range, pos + lines);
+ gtk_range_set_value(range, pos + lines*adj->step_increment);
changed = pos != int(adj->value + 0.5);
}
return changed;
changed = pos != int(adj->value + 0.5);
}
return changed;
{
GtkAdjustment* adj = range->adjustment;
const int pos = int(adj->value + 0.5);
{
GtkAdjustment* adj = range->adjustment;
const int pos = int(adj->value + 0.5);
- gtk_range_set_value(range, pos + pages * adj->page_size);
+ gtk_range_set_value(range, pos + pages*adj->page_increment);
changed = pos != int(adj->value + 0.5);
}
return changed;
changed = pos != int(adj->value + 0.5);
}
return changed;