X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc2171bd4c660b8554dae2a1cbf34ff09f3032a6..eae0338fcb421ac03c0f78a0c0f30b9a766cdeec:/docs/latex/wx/icon.tex diff --git a/docs/latex/wx/icon.tex b/docs/latex/wx/icon.tex index 28999bc3df..75319cf0b1 100644 --- a/docs/latex/wx/icon.tex +++ b/docs/latex/wx/icon.tex @@ -51,7 +51,7 @@ For more information please see \helpref{Bitmap and icon overview}{wxbitmapoverv \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxIcon::wxIcon}\label{wxiconconstr} +\membersection{wxIcon::wxIcon}\label{wxiconctor} \func{}{wxIcon}{\void} @@ -80,7 +80,7 @@ Creates a new icon. Creates an icon from XPM data. -\func{}{wxIcon}{\param{const wxString\& }{name}, \param{long}{ type}, +\func{}{wxIcon}{\param{const wxString\& }{name}, \param{wxBitmapType}{ type}, \param{int}{ desiredWidth = -1}, \param{int}{ desiredHeight = -1}} Loads an icon from a file or resource. @@ -208,7 +208,7 @@ must have mask colour set. \end{itemize} } -\membersection{wxIcon::\destruct{wxIcon}} +\membersection{wxIcon::\destruct{wxIcon}}\label{wxicondtor} \func{}{\destruct{wxIcon}}{\void} @@ -222,7 +222,7 @@ destroyed automatically by wxWidgets when the application exits. Do not delete an icon that is selected into a memory device context. -\membersection{wxIcon::GetDepth} +\membersection{wxIcon::GetDepth}\label{wxicongetdepth} \constfunc{int}{GetDepth}{\void} @@ -247,7 +247,7 @@ Gets the width of the icon in pixels. \membersection{wxIcon::LoadFile}\label{wxiconloadfile} -\func{bool}{LoadFile}{\param{const wxString\&}{ name}, \param{long}{ type}} +\func{bool}{LoadFile}{\param{const wxString\&}{ name}, \param{wxBitmapType}{ type}} Loads an icon from a file or resource. @@ -275,7 +275,7 @@ true if the operation succeeded, false otherwise. \wxheading{See also} -\helpref{wxIcon::wxIcon}{wxiconconstr} +\helpref{wxIcon::wxIcon}{wxiconctor} \membersection{wxIcon::Ok}\label{wxiconok} @@ -286,7 +286,7 @@ Returns true if icon data is present. \begin{comment} \membersection{wxIcon::SaveFile}\label{wxiconsavefile} -\func{bool}{SaveFile}{\param{const wxString\& }{name}, \param{int}{ type}, \param{wxPalette* }{palette = NULL}} +\func{bool}{SaveFile}{\param{const wxString\& }{name}, \param{wxBitmapType}{ type}, \param{wxPalette* }{palette = NULL}} Saves an icon in the named file. @@ -341,17 +341,7 @@ Sets the height member (does not affect the icon data). \docparam{height}{Icon height in pixels.} -\membersection{wxIcon::SetOk} - -\func{void}{SetOk}{\param{int }{isOk}} - -Sets the validity member (does not affect the icon data). - -\wxheading{Parameters} - -\docparam{isOk}{Validity flag.} - -\membersection{wxIcon::SetWidth} +\membersection{wxIcon::SetWidth}\label{wxiconsetwidth} \func{void}{SetWidth}{\param{int }{width}} @@ -361,7 +351,7 @@ Sets the width member (does not affect the icon data). \docparam{width}{Icon width in pixels.} -\membersection{wxIcon::operator $=$} +\membersection{wxIcon::operator $=$}\label{wxiconassign} \func{wxIcon\& }{operator $=$}{\param{const wxIcon\& }{icon}} @@ -377,7 +367,7 @@ counter. It is a fast operation. Returns 'this' object. -\membersection{wxIcon::operator $==$} +\membersection{wxIcon::operator $==$}\label{wxiconequal} \func{bool}{operator $==$}{\param{const wxIcon\& }{icon}} @@ -392,7 +382,7 @@ equal (a fast test). Returns true if the icons were effectively equal, false otherwise. -\membersection{wxIcon::operator $!=$} +\membersection{wxIcon::operator $!=$}\label{wxiconnotequal} \func{bool}{operator $!=$}{\param{const wxIcon\& }{icon}}