From: Mart Raudsepp Date: Tue, 14 Mar 2006 00:36:44 +0000 (+0000) Subject: OnGetLineHeight and OnGetLinesHint are virtual, so document them as such. Closes... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/41e9579283b7233c5c9f579dc52d3a70b9585929?ds=inline OnGetLineHeight and OnGetLinesHint are virtual, so document them as such. Closes bug #1445485 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/vscroll.tex b/docs/latex/wx/vscroll.tex index 95892a7a01..b965f1fd15 100644 --- a/docs/latex/wx/vscroll.tex +++ b/docs/latex/wx/vscroll.tex @@ -186,7 +186,7 @@ Returns {\tt true} if the given line is (at least partially) visible or \membersection{wxVScrolledWindow::OnGetLineHeight}\label{wxvscrolledwindowongetlineheight} -\constfunc{wxCoord}{OnGetLineHeight}{\param{size\_t }{n}} +\constfunc{virtual wxCoord}{OnGetLineHeight}{\param{size\_t }{n}} This protected virtual function must be overridden in the derived class and it should return the height of the given line in pixels. @@ -198,7 +198,7 @@ should return the height of the given line in pixels. \membersection{wxVScrolledWindow::OnGetLinesHint}\label{wxvscrolledwindowongetlineshint} -\constfunc{void}{OnGetLinesHint}{\param{size\_t }{lineMin}, \param{size\_t }{lineMax}} +\constfunc{virtual void}{OnGetLinesHint}{\param{size\_t }{lineMin}, \param{size\_t }{lineMax}} This function doesn't have to be overridden but it may be useful to do it if calculating the lines heights is a relatively expensive operation