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
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.
\pythonnote{The wxPython version of this methods accepts only two
parameters and returns xx and yy as a tuple of values.}
\pythonnote{The wxPython version of this methods accepts only two
parameters and returns xx and yy as a tuple of values.}
\membersection{wxScrolledWindow::CalcUnscrolledPosition}\label{wxscrolledwindowcalcunscrolledposition}
\constfunc{void}{CalcUnscrolledPosition}{
\membersection{wxScrolledWindow::CalcUnscrolledPosition}\label{wxscrolledwindowcalcunscrolledposition}
\constfunc{void}{CalcUnscrolledPosition}{
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
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.
\pythonnote{The wxPython version of this methods accepts only two
parameters and returns xx and yy as a tuple of values.}
\pythonnote{The wxPython version of this methods accepts only two
parameters and returns xx and yy as a tuple of values.}
\membersection{wxScrolledWindow::Create}\label{wxscrolledwindowcreate}
\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id = -1},\rtfsp
\membersection{wxScrolledWindow::Create}\label{wxscrolledwindowcreate}
\func{bool}{Create}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id = -1},\rtfsp
\pythonnote{The wxPython version of this methods accepts no
parameters and returns a tuple of values for xUnit and yUnit.}
\pythonnote{The wxPython version of this methods accepts no
parameters and returns a tuple of values for xUnit and yUnit.}
\pythonnote{The wxPython version of this methods accepts no
parameters and returns a tuple of values for x and y.}
\pythonnote{The wxPython version of this methods accepts no
parameters and returns a tuple of values for x and y.}
\membersection{wxScrolledWindow::IsRetained}\label{wxscrolledwindowisretained}
\constfunc{bool}{IsRetained}{\void}
\membersection{wxScrolledWindow::IsRetained}\label{wxscrolledwindowisretained}
\constfunc{bool}{IsRetained}{\void}
\pythonnote{The wxPython version of this methods accepts no
parameters and returns a tuple of values for x and y.}
\pythonnote{The wxPython version of this methods accepts no
parameters and returns a tuple of values for x and y.}