X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f353563055080c651d9929ab8880eefcf2b790e..c266eff98c5e44012647f54f38a1e29ecabd8759:/docs/latex/wx/icon.tex diff --git a/docs/latex/wx/icon.tex b/docs/latex/wx/icon.tex index 75319cf0b1..5199f35c44 100644 --- a/docs/latex/wx/icon.tex +++ b/docs/latex/wx/icon.tex @@ -19,6 +19,10 @@ a separate class is provided. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Predefined objects} Objects: @@ -212,10 +216,8 @@ must have mask colour set. \func{}{\destruct{wxIcon}}{\void} -Destroys the wxIcon object and possibly the underlying icon data. -Because reference counting is used, the icon may not actually be -destroyed at this point - only when the reference count is zero will the -data be deleted. +Destructor. +See \helpref{reference-counted object destruction}{refcountdestruct} for more info. If the application omits to delete the icon explicitly, the icon will be destroyed automatically by wxWidgets when the application exits. @@ -277,9 +279,9 @@ true if the operation succeeded, false otherwise. \helpref{wxIcon::wxIcon}{wxiconctor} -\membersection{wxIcon::Ok}\label{wxiconok} +\membersection{wxIcon::IsOk}\label{wxiconisok} -\constfunc{bool}{Ok}{\void} +\constfunc{bool}{IsOk}{\void} Returns true if icon data is present. @@ -355,9 +357,7 @@ Sets the width member (does not affect the icon data). \func{wxIcon\& }{operator $=$}{\param{const wxIcon\& }{icon}} -Assignment operator. This operator does not copy any data, but instead -passes a pointer to the data in {\it icon} and increments a reference -counter. It is a fast operation. +Assignment operator, using \helpref{reference counting}{trefcount}. \wxheading{Parameters} @@ -367,34 +367,4 @@ counter. It is a fast operation. Returns 'this' object. -\membersection{wxIcon::operator $==$}\label{wxiconequal} - -\func{bool}{operator $==$}{\param{const wxIcon\& }{icon}} - -Equality operator. This operator tests whether the internal data pointers are -equal (a fast test). - -\wxheading{Parameters} - -\docparam{icon}{Icon to compare with 'this'} - -\wxheading{Return value} - -Returns true if the icons were effectively equal, false otherwise. - -\membersection{wxIcon::operator $!=$}\label{wxiconnotequal} - -\func{bool}{operator $!=$}{\param{const wxIcon\& }{icon}} - -Inequality operator. This operator tests whether the internal data pointers are -unequal (a fast test). - -\wxheading{Parameters} - -\docparam{icon}{Icon to compare with 'this'} - -\wxheading{Return value} - -Returns true if the icons were unequal, false otherwise. -