X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..e588dd6b1abfbf0315523487b6b9b9c0b51dce9b:/docs/latex/wx/filetype.tex diff --git a/docs/latex/wx/filetype.tex b/docs/latex/wx/filetype.tex index 22673a5a2f..9cbeb4f35a 100644 --- a/docs/latex/wx/filetype.tex +++ b/docs/latex/wx/filetype.tex @@ -152,10 +152,16 @@ function in the first place. \membersection{wxFileType::GetIcon}\label{wxfiletypegeticon} -\func{bool}{GetIcon}{\param{wxIcon*}{ icon}} +\func{bool}{GetIcon}{\param{wxIconLocation *}{ iconLoc}} -If the function returns {\tt true}, the icon associated with this file type will be -created and assigned to the {\it icon} parameter. +If the function returns {\tt true}, the {\tt iconLoc} is filled with the +location of the icon for this MIME type. A \helpref{wxIcon}{wxicon} may be +created from {\it iconLoc} later. + +{\bf Windows:} The function returns the icon shown by Explorer for the files of +the specified type. + +{\bf Mac:} This function is not implemented and always returns {\tt false}. {\bf Unix:} MIME manager gathers information about icons from GNOME and KDE settings and thus GetIcon's success depends on availability