]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed some compile errors
authorBrian Macy <nobody@localhost>
Tue, 18 May 1999 19:08:28 +0000 (19:08 +0000)
committerBrian Macy <nobody@localhost>
Tue, 18 May 1999 19:08:28 +0000 (19:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index 3c3e2b6d1e939020ab24587fcf17784ab23eeb4b..c866ca458992f63a8b98544d29cf87f8e6b6f1ae 100644 (file)
@@ -1451,8 +1451,8 @@ size_t wxString::rfind(wxChar ch, size_t nStart) const
 
 size_t wxString::find_first_of(const wxChar* sz, size_t nStart) const
 {
-    const char *start = c_str() + nStart;
-    char *firstOf = strpbrk(start, sz);
+    const wxChar *start = c_str() + nStart;
+    const wxChar *firstOf = wxStrpbrk(start, sz);
     if ( firstOf )
         return firstOf - start;
     else