X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82e20720c94f1df1086173bc3fea52d50473297c..2c92065fad2d108203f8ff1cb8f1033f1901d698:/contrib/docs/latex/deprecated/function.tex diff --git a/contrib/docs/latex/deprecated/function.tex b/contrib/docs/latex/deprecated/function.tex index 69cbd2b513..de3fa0c617 100644 --- a/contrib/docs/latex/deprecated/function.tex +++ b/contrib/docs/latex/deprecated/function.tex @@ -12,6 +12,7 @@ the corresponding topic. %\helpref{wxLoadUserResource}{wxloaduserresource}\\ %\helpref{wxMakeMetafilePlaceable}{wxmakemetafileplaceable}\\ %\helpref{wxNewId}{wxnewid}\\ +\helpref{wxLoadFromResource}{wxloadfromresource}\\ \helpref{wxResourceAddIdentifier}{wxresourceaddidentifier}\\ \helpref{wxResourceClear}{wxresourceclear}\\ \helpref{wxResourceCreateBitmap}{wxresourcecreatebitmap}\\ @@ -157,6 +158,28 @@ as wxWriteResource and wxGetResource. It is just an unfortunate clash of termino See also \helpref{wxWindow::LoadFromResource}{wxwindowloadfromresource} for loading from resource data. +\membersection{wxLoadFromResource}\label{wxloadfromresource} + +\func{virtual bool}{LoadFromResource}{\param{wxWindow* thisWindow}, \param{wxWindow* }{parent},\rtfsp +\param{const wxString\& }{resourceName}, \param{const wxResourceTable* }{resourceTable = NULL}} + +Loads a panel or dialog from a resource file. + +\wxheading{Parameters} + +\docparam{thisWindow}{Window to load the resource into.} + +\docparam{parent}{Parent window.} + +\docparam{resourceName}{The name of the resource to load.} + +\docparam{resourceTable}{The resource table to load it from. If this is NULL, the +default resource table will be used.} + +\wxheading{Return value} + +{\tt true} if the operation succeeded, otherwise {\tt false}. + \membersection{::wxResourceAddIdentifier}\label{wxresourceaddidentifier} \func{bool}{wxResourceAddIdentifier}{\param{const wxString\& }{name}, \param{int }{value}}