other ifacecheck fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-01-10 23:44:44 +00:00
parent f045ad8d25
commit 882678ebb4
22 changed files with 178 additions and 180 deletions

View File

@@ -504,7 +504,7 @@ enum wxStreamProtocolType
@code
factory = wxFilterClassFactory::Find(filename, wxSTREAM_FILEEXT);
if (factory)
stream = factory-NewStream(new wxFFileInputStream(filename));
stream = factory->NewStream(new wxFFileInputStream(filename));
@endcode
wxFilterClassFactory::Find can also search for a factory by MIME type,
@@ -595,10 +595,10 @@ public:
If the parent stream is passed as a pointer then the new filter stream
takes ownership of it. If it is passed by reference then it does not.
*/
wxFilterInputStream* NewStream(wxInputStream& stream) const;
wxFilterOutputStream* NewStream(wxOutputStream& stream) const;
wxFilterInputStream* NewStream(wxInputStream* stream) const;
wxFilterOutputStream* NewStream(wxOutputStream* stream) const;
virtual wxFilterInputStream* NewStream(wxInputStream& stream) const = 0;
virtual wxFilterOutputStream* NewStream(wxOutputStream& stream) const = 0;
virtual wxFilterInputStream* NewStream(wxInputStream* stream) const = 0;
virtual wxFilterOutputStream* NewStream(wxOutputStream* stream) const = 0;
//@}
/**