fix crashes due to missing npos handling in several wxString methods in STL build...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Apr 2008 23:41:15 +0000 (23:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Apr 2008 23:41:15 +0000 (23:41 +0000)
commit9ef1ad0d2ccb6dee00b1adc495ce055edd27844b
treeb3ab79582ea73d978a73c5663acb6b60bde832a0
parent5540b06b006428090bc790dd68c780f686f4b06a
fix crashes due to missing npos handling in several wxString methods in STL build (bug 1941352); add an assert to ensure this bug doesn't occur in the future

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/string.h
src/common/string.cpp