don't use implicit wxString->char*/wchar_t* conversion, it will not be available in wxUSE_STL build in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -354,12 +354,12 @@ public:
|
||||
virtual const wxChar * const *GetProtocols(wxStreamProtocolType type
|
||||
= wxSTREAM_PROTOCOL) const = 0;
|
||||
|
||||
bool CanHandle(const wxChar *protocol,
|
||||
bool CanHandle(const wxString& protocol,
|
||||
wxStreamProtocolType type
|
||||
= wxSTREAM_PROTOCOL) const;
|
||||
|
||||
protected:
|
||||
wxString::size_type FindExtension(const wxChar *location) const;
|
||||
wxString::size_type FindExtension(const wxString& location) const;
|
||||
|
||||
DECLARE_ABSTRACT_CLASS(wxFilterClassFactoryBase)
|
||||
};
|
||||
@@ -374,7 +374,7 @@ public:
|
||||
virtual wxFilterInputStream *NewStream(wxInputStream *stream) const = 0;
|
||||
virtual wxFilterOutputStream *NewStream(wxOutputStream *stream) const = 0;
|
||||
|
||||
static const wxFilterClassFactory *Find(const wxChar *protocol,
|
||||
static const wxFilterClassFactory *Find(const wxString& protocol,
|
||||
wxStreamProtocolType type
|
||||
= wxSTREAM_PROTOCOL);
|
||||
|
||||
|
Reference in New Issue
Block a user