X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..65baafba0e8cd74f2264b7e2f7625ff5bea84864:/docs/latex/wx/tscroll.tex diff --git a/docs/latex/wx/tscroll.tex b/docs/latex/wx/tscroll.tex index 3f218b92e8..eb383d1200 100644 --- a/docs/latex/wx/tscroll.tex +++ b/docs/latex/wx/tscroll.tex @@ -2,7 +2,7 @@ Classes: \helpref{wxWindow}{wxwindow}, \helpref{wxScrolledWindow}{wxscrolledwindow}, \helpref{wxIcon}{wxicon}, \helpref{wxScrollBar}{wxscrollbar}. -Scrollbars come in various guises in wxWindows. All windows have the potential +Scrollbars come in various guises in wxWidgets. All windows have the potential to show a vertical scrollbar and/or a horizontal scrollbar: it is a basic capability of a window. However, in practice, not all windows do make use of scrollbars, such as a single-line wxTextCtrl. @@ -79,12 +79,12 @@ When defining your own scrollbar behaviour, you will always need to recalculate the scrollbar settings when the window size changes. You could therefore put your scrollbar calculations and SetScrollbar call into a function named AdjustScrollbars, which can be called initially and also -from your \helpref{wxWindow::OnSize}{wxwindowonsize} event handler function. +from your \helpref{wxSizeEvent}{wxsizeevent} handler function. -%\normalbox{{\bf For Windows programmers:} note that scrollbar range in wxWindows has a different meaning +%\normalbox{{\bf For Windows programmers:} note that scrollbar range in wxWidgets has a different meaning %from that in Windows. In native Windows scrollbar calls, range is the number of positions that the scrollbar %can physically scroll through - in our example above, it would be 34. But it is easier %to think in terms of the number of units that the whole scrollbar represents - the virtual -%window size - which is why wxWindows does it differently.} +%window size - which is why wxWidgets does it differently.}