X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/716b1f7091622187312a86257eac0570d0ccd8a2..19f6bff4484b97ef036a793820eb30c0a6df92b5:/docs/latex/wx/fltfactory.tex diff --git a/docs/latex/wx/fltfactory.tex b/docs/latex/wx/fltfactory.tex index 662f71da3c..1c01f8fac9 100644 --- a/docs/latex/wx/fltfactory.tex +++ b/docs/latex/wx/fltfactory.tex @@ -15,7 +15,6 @@ handle it and create a stream to decompress it: factory = wxFilterClassFactory::Find(filename, wxSTREAM_FILEEXT); if (factory) stream = factory->NewStream(new wxFFileInputStream(filename)); - \end{verbatim} \helpref{Find()}{wxfilterclassfactoryfind} can also search @@ -56,7 +55,7 @@ enum wxStreamProtocolType \membersection{wxFilterClassFactory::CanHandle}\label{wxfilterclassfactorycanhandle} -\constfunc{bool}{CanHandle}{\param{const wxChar* }{protocol}, \param{wxStreamProtocolType }{type = wxSTREAM\_PROTOCOL}} +\constfunc{bool}{CanHandle}{\param{const wxString\& }{protocol}, \param{wxStreamProtocolType }{type = wxSTREAM\_PROTOCOL}} Returns true if this factory can handle the given protocol, MIME type, HTTP encoding or file extension. @@ -67,7 +66,7 @@ can be a complete filename rather than just an extension. \membersection{wxFilterClassFactory::Find}\label{wxfilterclassfactoryfind} -\func{static const wxFilterClassFactory*}{Find}{\param{const wxChar* }{protocol}, \param{wxStreamProtocolType }{type = wxSTREAM\_PROTOCOL}} +\func{static const wxFilterClassFactory*}{Find}{\param{const wxString\& }{protocol}, \param{wxStreamProtocolType }{type = wxSTREAM\_PROTOCOL}} A static member that finds a factory that can handle a given protocol, MIME type, HTTP encoding or file extension. Returns a pointer to the class @@ -184,3 +183,4 @@ Removing from the list isn't a thread safe operation so can't be done when other threads are running that will be using the list. The list does not own the factories, so removing a factory does not delete it. +