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
This commit is contained in:
parent
8e25c1981b
commit
41e9579283
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user