]> git.saurik.com Git - wxWidgets.git/commit - tests/strings/stdstrings.cpp
Add wxString::ToStdString() and ToStdWstring().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Apr 2010 11:08:49 +0000 (11:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Apr 2010 11:08:49 +0000 (11:08 +0000)
commite3ab69523b78d79752943ab6d044c334045a1e57
tree88ef07126f158b1b3203ab99c96da6a5963ca46f
parent13f0c85aa4d44627046257b465aac9492646e070
Add wxString::ToStdString() and ToStdWstring().

These trivial helper functions are available in all builds (provided that
wxUSE_STD_STRING is not explicitly set to non-default 0 value) unlike implicit
conversions to std::[w]string which are only available when wxUSE_STL==1.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/string.h
interface/wx/string.h
tests/strings/stdstrings.cpp