From: Vadim Zeitlin Date: Mon, 20 Aug 2001 13:18:52 +0000 (+0000) Subject: fixed the wrong examples of CalcScrolled/UnscrolledPosition() usage X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/783d4c893170286815a6d401d79229d10f9367dc fixed the wrong examples of CalcScrolled/UnscrolledPosition() usage git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/scrolwin.tex b/docs/latex/wx/scrolwin.tex index e89c1ae6fc..0129bee043 100644 --- a/docs/latex/wx/scrolwin.tex +++ b/docs/latex/wx/scrolwin.tex @@ -112,7 +112,7 @@ Destructor. Translates the logical coordinates to the device ones. For example, if a window is scrolled 10 pixels to the bottom, the device coordinates of the origin are (0, 0) (as always), but the logical coordinates are (0, 10) and so the call to -CalcScrolledPosition(0, 0, \&xx, \&yy) will return 10 in yy. +CalcScrolledPosition(0, 10, \&xx, \&yy) will return 0 in yy. \wxheading{See also} @@ -135,7 +135,7 @@ parameters and returns xx and yy as a tuple of values.} Translates the device coordinates to the logical ones. For example, if a window is scrolled 10 pixels to the bottom, the device coordinates of the origin are (0, 0) (as always), but the logical coordinates are (0, 10) and so the call to -CalcUnscrolledPosition(0, 10, \&xx, \&yy) will return 0 in yy. +CalcUnscrolledPosition(0, 0, \&xx, \&yy) will return 10 in yy. \wxheading{See also}