X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7cacb43db1e69b87b257a67912b4d52995b070a..1f65137f8de90aba96242d5e44b00dfd0efa4b67:/docs/latex/wx/cursor.tex diff --git a/docs/latex/wx/cursor.tex b/docs/latex/wx/cursor.tex index 8821d5775f..7a07cdd229 100644 --- a/docs/latex/wx/cursor.tex +++ b/docs/latex/wx/cursor.tex @@ -84,7 +84,7 @@ On MacOS if the cursor is larger than 16x16 it is resized and currently only sho \func{}{wxCursor}{\param{const wxCursor\&}{ cursor}} -Copy constructor. This uses reference counting so is a cheap operation. +Copy constructor, uses \helpref{reference counting}{trefcount}. \wxheading{Parameters} @@ -229,7 +229,10 @@ wxCursor down_cursor = wxCursor(down_bits, 32, 32, \func{}{\destruct{wxCursor}}{\void} -Destroys the cursor. A cursor can be reused for more +Destroys the cursor. +See \helpref{reference-counted object destruction}{refcountdestruct} for more info. + +A cursor can be reused for more than one window, and does not get destroyed when the window is destroyed. wxWidgets destroys all cursors on application exit, although it is best to clean them up explicitly. @@ -244,23 +247,5 @@ Returns true if cursor data is present. \func{wxCursor\&}{operator $=$}{\param{const wxCursor\& }{cursor}} -Assignment operator, using reference counting. Returns a reference -to `this'. - -\membersection{wxCursor::operator $==$}\label{wxcursorequals} - -\func{bool}{operator $==$}{\param{const wxCursor\& }{cursor}} - -Equality operator. Two cursors are equal if they contain pointers -to the same underlying cursor data. It does not compare each attribute, -so two independently-created cursors using the same parameters will -fail the test. - -\membersection{wxCursor::operator $!=$}\label{wxcursornotequals} - -\func{bool}{operator $!=$}{\param{const wxCursor\& }{cursor}} - -Inequality operator. Two cursors are not equal if they contain pointers -to different underlying cursor data. It does not compare each attribute. - +Assignment operator, using \helpref{reference counting}{trefcount}.