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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user