]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/window.tex
Added missing include
[wxWidgets.git] / docs / latex / wx / window.tex
index 322ca2ae90796cdea4f6c9279d9b92d578dfae69..b71464742fa590170f29437a03c89f710c325445 100644 (file)
@@ -2448,14 +2448,14 @@ Physically scrolls the pixels in the window and move child windows accordingly.
 
 \docparam{dy}{Amount to scroll vertically.}
 
-\docparam{rect}{Rectangle to invalidate. If this is NULL, the whole window is invalidated. If you
-pass a rectangle corresponding to the area of the window exposed by the scroll, your painting handler
-can optimize painting by checking for the invalidated region. This parameter is ignored under GTK.}
+\docparam{rect}{Rectangle to scroll, if it is \NULL, the whole window is
+scrolled (this is always the case under wxGTK which doesn't support this
+parameter)}
 
 \wxheading{Remarks}
 
-Use this function to optimise your scrolling implementations, to minimise the area that must be
-redrawn. Note that it is rarely required to call this function from a user program.
+Note that you can often use \helpref{wxScrolledWindow}{wxscrolledwindow} 
+instead of using this function directly.
 
 
 \membersection{wxWindow::SetAcceleratorTable}\label{wxwindowsetacceleratortable}