]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/arcfind.cpp
declare all NameStr[] strings as const char using the correct WXDLLIMPEXP_DATA_ macro...
[wxWidgets.git] / src / common / arcfind.cpp
index b71aeb8f9cdf9909c54a393c83326eb78cfcd13c..cf7cc29c94f590f888c5598336cc5a7cfdedc5ef 100644 (file)
@@ -23,7 +23,7 @@
 // the archive classes they use.
 
 const wxArchiveClassFactory *
-wxArchiveClassFactory::Find(const wxChar *protocol, wxStreamProtocolType type)
+wxArchiveClassFactory::Find(const wxString& protocol, wxStreamProtocolType type)
 {
     for (const wxArchiveClassFactory *f = GetFirst(); f; f = f->GetNext())
         if (f->CanHandle(protocol, type))