X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..71aba8333cc915afff9e740c944f7fa7247abacb:/docs/latex/wx/caret.tex?ds=inline

diff --git a/docs/latex/wx/caret.tex b/docs/latex/wx/caret.tex
index 266915b7c2..451741f38a 100644
--- a/docs/latex/wx/caret.tex
+++ b/docs/latex/wx/caret.tex
@@ -26,6 +26,10 @@ can't be reused in two different windows.
 
 No base class
 
+\wxheading{Include files}
+
+<wx/caret.h>
+
 \wxheading{Data structures}
 
 \latexignore{\rtfignore{\wxheading{Members}}}
@@ -68,6 +72,15 @@ for all carets, so this functions is static).
 
 Get the caret position (in pixels).
 
+\perlnote{In wxPerl there are two methods instead of a single overloaded
+method:\par
+\indented{2cm}{\begin{twocollist}
+\twocolitem{{\bf GetPosition()}}{Returns a Wx::Point}
+\twocolitem{{\bf GetPositionXY()}}{Returns a 2-element list
+ {\tt ( x, y )}}
+\end{twocollist}
+}}
+
 \membersection{wxCaret::GetSize}\label{wxcaretgetsize}
 
 \constfunc{void}{GetSize}{\param{int* }{width}, \param{int* }{height}}
@@ -76,6 +89,15 @@ Get the caret position (in pixels).
 
 Get the caret size.
 
+\perlnote{In wxPerl there are two methods instead of a single overloaded
+method:\par
+\indented{2cm}{\begin{twocollist}
+\twocolitem{{\bf GetSize()}}{Returns a Wx::Size}
+\twocolitem{{\bf GetSizeWH()}}{Returns a 2-element list
+ {\tt ( width, height )}}
+\end{twocollist}
+}}
+
 \membersection{wxCaret::GetWindow}\label{wxcaretgetwindow}
 
 \constfunc{wxWindow*}{GetWindow}{\void}
@@ -86,21 +108,21 @@ Get the window the caret is associated with.
 
 \func{void}{Hide}{\void}
 
-Same as \helpref{wxCaret::Show(FALSE)}{wxcaretshow}.
+Same as \helpref{wxCaret::Show(false)}{wxcaretshow}.
 
 \membersection{wxCaret::IsOk}\label{wxcaretisok}
 
 \constfunc{bool}{IsOk}{\void}
 
-Returns TRUE if the caret was created successfully.
+Returns true if the caret was created successfully.
 
 \membersection{wxCaret::IsVisible}\label{wxcaretisvisible}
 
 \constfunc{bool}{IsVisible}{\void}
 
-Returns TRUE if the caret is visible and FALSE if it is permanently
+Returns true if the caret is visible and false if it is permanently
 hidden (if it is is blinking and not shown currently but will be after the
-next blink, this method still returns TRUE).
+next blink, this method still returns true).
 
 \membersection{wxCaret::Move}\label{wxcaretmove}
 
@@ -136,7 +158,7 @@ Changes the size of the caret.
 
 \membersection{wxCaret::Show}\label{wxcaretshow}
 
-\func{void}{Show}{\param{bool }{show = TRUE}}
+\func{void}{Show}{\param{bool }{show = true}}
 
 Shows or hides the caret. Notice that if the caret was hidden $N$ times, it
 must be shown $N$ times as well to reappear on the screen.
