1. made ScrollLines/Pages return bool indicating if we scrolled till the

end or not
2. implemented them for wxGTK text ctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-30 15:22:38 +00:00
parent 68a9ef0ef0
commit 9cd6d737d5
8 changed files with 211 additions and 31 deletions

View File

@@ -1807,12 +1807,21 @@ implements the following methods:\par
\membersection{wxWindow::ScrollLines}\label{wxwindowscrolllines}
\func{virtual void}{ScrollLines}{\param{int }{lines}}
\func{virtual bool}{ScrollLines}{\param{int }{lines}}
Scrolls the window by the given number of lines down (if {\it lines} is
positive) or up.
This function is currently only implemented under MSW.
\wxheading{Return value}
Returns {\tt TRUE} if the window was scrolled, {\tt FALSE} if it was already
on top/bottom and nothing was done.
\wxheading{Remarks}
This function is currently only implemented under MSW and wxTextCtrl under
wxGTK (it also works for wxScrolledWindow derived classes under all
platforms).
\wxheading{See also}
@@ -1820,12 +1829,21 @@ This function is currently only implemented under MSW.
\membersection{wxWindow::ScrollPages}\label{wxwindowscrollpages}
\func{virtual void}{ScrollPages}{\param{int }{pages}}
\func{virtual bool}{ScrollPages}{\param{int }{pages}}
Scrolls the window by the given number of pages down (if {\it pages} is
positive) or up.
This function is currently only implemented under MSW.
\wxheading{Return value}
Returns {\tt TRUE} if the window was scrolled, {\tt FALSE} if it was already
on top/bottom and nothing was done.
\wxheading{Remarks}
This function is currently only implemented under MSW and wxTextCtrl under
wxGTK (it also works for wxScrolledWindow derived classes under all
platforms).
\wxheading{See also}