X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5873607e5c6d255f5692cc37637551eaeb2e4472..60b73526d6797ee466c272dbfca962a230bc5908:/docs/latex/wx/scrolwin.tex diff --git a/docs/latex/wx/scrolwin.tex b/docs/latex/wx/scrolwin.tex index 2cf1f691cd..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} @@ -395,3 +395,4 @@ parameters and returns a tuple of values for x and y.} \perlnote{In wxPerl this method takes no parameters and returns a 2-element list {\tt ( x, y )}.} +