X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2259e007898a6ffa793e129845e1fa416b42e6d3..f9dae7798b164a5f4abc85d16f49cabd4e0980c0:/docs/latex/wx/pen.tex diff --git a/docs/latex/wx/pen.tex b/docs/latex/wx/pen.tex index 8754bae778..86516c0081 100644 --- a/docs/latex/wx/pen.tex +++ b/docs/latex/wx/pen.tex @@ -66,7 +66,7 @@ data using the reference counting, are not affected. \func{}{wxPen}{\void} Default constructor. The pen will be uninitialised, and \helpref{wxPen::Ok}{wxpenok} will -return FALSE. +return false. \func{}{wxPen}{\param{const wxColour\&}{ colour}, \param{int}{ width}, \param{int}{ style}} @@ -130,6 +130,14 @@ is found in the colour database. \helpref{wxPen::SetStyle}{wxpensetstyle}, \helpref{wxPen::SetColour}{wxpensetcolour},\rtfsp \helpref{wxPen::SetWidth}{wxpensetwidth}, \helpref{wxPen::SetStipple}{wxpensetstipple} +\perlnote{Constructors supported by wxPerl are:\par +\begin{itemize} +\item{Wx::Pen->new( colour, width, style )} +\item{Wx::Pen->new( colourName, width, style )} +\item{Wx::Pen->new( stipple, width )} +\end{itemize} +} + \membersection{wxPen::\destruct{wxPen}} \func{}{\destruct{wxPen}}{\void} @@ -224,7 +232,7 @@ Returns the pen width. \constfunc{bool}{Ok}{\void} -Returns TRUE if the pen is initialised. +Returns true if the pen is initialised. \membersection{wxPen::SetCap}\label{wxpensetcap}