X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70e8189368e353e7f675144244f6026f5ab31d9b..77436c4cbac2269e564dc4fcf4494a58feca0af4:/docs/latex/wx/window.tex

diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex
index 43697c7b0f..4332f54142 100644
--- a/docs/latex/wx/window.tex
+++ b/docs/latex/wx/window.tex
@@ -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}
 
