X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..7b1279006496ba3251a755bcef91301ad107bb78:/docs/latex/wx/caret.tex

diff --git a/docs/latex/wx/caret.tex b/docs/latex/wx/caret.tex
index 266915b7c2..9252196b3a 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}
