wxString::find() now works again (was completely broken)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-01-27 16:47:57 +00:00
parent c56dadd8ed
commit d71fa6fb2e
2 changed files with 53 additions and 4 deletions

View File

@@ -1534,7 +1534,7 @@ size_t wxString::find(const wxString& str, size_t nStart) const
#if !defined(__VISUALC__) || defined(__WIN32__)
size_t wxString::find(const wxChar* sz, size_t nStart, size_t n) const
{
return find(wxString(sz, n == npos ? 0 : n), nStart);
return find(wxString(sz, n), nStart);
}
#endif // VC++ 1.5