Add helper wxString::IterOffsetInMBStr() method.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Mar 2012 16:45:50 +0000 (16:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Mar 2012 16:45:50 +0000 (16:45 +0000)
commit52dc2108ae52f9cc997fc80e2b2b0b399b9581ef
treec2d279cdf2a708e5a5e32afd424d2e79cd2112fe
parent9d98c19792465f5c01b9c156899079fb65bcc993
Add helper wxString::IterOffsetInMBStr() method.

This method can be used to recover the pointer in char* buffer containing
multi-byte string representation corresponding to the given iterator which is
useful for implementing backwards-compatible functions that must be able to
return such pointers.

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