X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf7d6329530d0a9f181ac24dcc722d276885f05e..6444e22daa9f3ff357ea57d3f18fb92fec24d003:/docs/latex/wx/vscroll.tex diff --git a/docs/latex/wx/vscroll.tex b/docs/latex/wx/vscroll.tex index 3489ab5885..ba327effcb 100644 --- a/docs/latex/wx/vscroll.tex +++ b/docs/latex/wx/vscroll.tex @@ -19,7 +19,7 @@ this class only supports scrolling in one direction currently (this could and probably will change in the future however). In any case, this is a generalization of the -\helpref{wxScrolledWindow}{wxScrolledWindow} class which can be only used when +\helpref{wxScrolledWindow}{wxscrolledwindow} class which can be only used when all lines have the same height. It lacks some other wxScrolledWindow features however, notably there is currently no support for horizontal scrolling; it can't scroll another window nor only a rectangle of the window and not its @@ -86,7 +86,7 @@ this class.} Same as the \helpref{non default ctor}{wxvscrolledwindowctor} but returns status code: {\tt true} if ok, {\tt false} if the window couldn't have been created. -Just as with the ctor above, {\tt wxVSCROLL| style is always used, there is no +Just as with the ctor above, {\tt wxVSCROLL} style is always used, there is no need to specify it explicitly. @@ -144,6 +144,16 @@ Finally note that {\it lineMin} is inclusive, while {\it lineMax} is exclusive, as usual. +\membersection{wxVScrolledWindow::RefreshAll}\label{wxvscrolledwindowrefreshall} + +\func{void}{RefreshAll}{\void} + +This function completely refreshes the control, recalculating the number of +items shown on screen and repaining them. It should be called when the values +returned by \helpref{OnGetLineHeight}{wxvscrolledwindowongetlineheight} change +for some reason and the window must be updated to reflect this. + + \membersection{wxVScrolledWindow::ScrollLines}\label{wxvscrolledwindowscrolllines} \func{bool}{ScrollLines}{\param{int }{lines}}