X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01e4ec19805f0decf6adde30a9f77b03340d60b5..05dedde7d01d55cde7f13f6b6201e24b5b408344:/docs/latex/wx/cursor.tex diff --git a/docs/latex/wx/cursor.tex b/docs/latex/wx/cursor.tex index 18556ebf01..bd41f87446 100644 --- a/docs/latex/wx/cursor.tex +++ b/docs/latex/wx/cursor.tex @@ -69,7 +69,7 @@ Constructs a cursor using a cursor identifier. \func{}{wxCursor}{\param{const wxImage\&}{ image}} -Constructs a cursor from a wxImage. The cursor is monochome, colors with the RGB elements all greater +Constructs a cursor from a wxImage. The cursor is monochrome, colors with the RGB elements all greater than 127 will be foreground, colors less than this background. The mask (if any) will be used as transparent. In MSW the foreground will be white and the background black. The cursor is resized to 32x32 @@ -162,10 +162,12 @@ hotSpotY=0)}}{Constructs a cursor from a filename} \end{twocollist}} } -\perlnote{Contructors supported by wxPerl are:\par +\perlnote{Constructors supported by wxPerl are:\par \begin{itemize} \item{Wx::Cursor->new( name, type, hotSpotX = 0, hotSpotY = 0 )} \item{Wx::Cursor->new( id )} +\item{Wx::Cursor->new( image )} +\item{Wx::Cursor->newData( bits, width, height, hotSpotX = -1, hotSpotY = -1, maskBits = 0 )} \end{itemize} }