X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e53a95bcb122a06a74e116aba717b0d7a5bdc1b8..cec5ffc46da1cf66cb3e61567006a8c0f4b84f81:/docs/latex/wx/artprov.tex diff --git a/docs/latex/wx/artprov.tex b/docs/latex/wx/artprov.tex index fedf79d678..690fd24b39 100644 --- a/docs/latex/wx/artprov.tex +++ b/docs/latex/wx/artprov.tex @@ -176,12 +176,23 @@ The bitmap if one of registered providers recognizes the ID or wxNullBitmap othe Same as \helpref{wxArtProvider::GetBitmap}{wxartprovidergetbitmap}, but return a wxIcon object (or wxNullIcon on failure). -\func{static wxSize}{GetSizeHint}{\param{const wxArtClient\& }{client}, \param{bool }{platform_default = false}} +\func{static wxSize}{GetSizeHint}{\param{const wxArtClient\& }{client}, \param{bool }{platform\_default = false}} Returns a suitable size hint for the given {\it wxArtClient}. If -{\it platform_default} is \true, return a size based on the current platform, +{\it platform\_default} is \true, return a size based on the current platform, otherwise return the size from the topmost wxArtProvider. {\it wxDefaultSize} may be -returned if the client doesn't have a specified size, like wxART_OTHER for example. +returned if the client doesn't have a specified size, like wxART\_OTHER for example. + +\membersection{wxArtProvider::InsertProvider}\label{wxartproviderinsertprovider} + +\func{static void}{InsertProvider}{\param{wxArtProvider* }{provider}} + +Register new art provider and add it to the bottom of providers stack (i.e. +it will be queried as the last one). + +\wxheading{See also} + +\helpref{PushProvider}{wxartproviderpushprovider} \membersection{wxArtProvider::PopProvider}\label{wxartproviderctor} @@ -193,7 +204,12 @@ Remove latest added provider and delete it. \func{static void}{PushProvider}{\param{wxArtProvider* }{provider}} -Register new art provider (add it to the top of providers stack). +Register new art provider and add it to the top of providers stack (i.e. it +will be queried as the first provider). + +\wxheading{See also} + +\helpref{InsertProvider}{wxartproviderinsertprovider} \membersection{wxArtProvider::RemoveProvider}\label{wxartproviderremoveprovider}