Fix vertical scrollbar visibility in wxStyledTextCtrl
Vertical scrollbar didn't appear even when the number of lines in the control became one greater than the maximal fitting number of lines, but only when one more line was added. This seems to have been a simple off-by-one error in SetScrollbar() calls, so fix this by adding 1 to the upper end of the range. Closes #17548.
This commit is contained in:
@@ -79,6 +79,7 @@ All (GUI):
|
||||
- Add support for wxAuiManager and wxAuiPaneInfo to XRC (Andrea Zanellato).
|
||||
- Add support for wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL to XRC (ousnius).
|
||||
- Update Scintilla to v3.6.6 (Paul Kulchenko).
|
||||
- Fix vertical scrollbar visibility in wxStyledTextCtrl (yenwu, NewPagodi).
|
||||
- Fix bug with not being able to select AUI tab after dragging.
|
||||
- Make wxDataViewCtrl::Expand() expand ancestors in native ports too.
|
||||
- Add wxDataViewCtrl::SetHeaderAttr().
|
||||
|
Reference in New Issue
Block a user