Compilation fix for wxUSE_UNICODE_WCHAR && !wxUSE_STL_BASED_WXSTRING.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Oct 2010 15:11:00 +0000 (15:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Oct 2010 15:11:00 +0000 (15:11 +0000)
commitbd63e363c263e069521a5629bdff684948469747
treee0d10667571bcf99079754ae401704f8b9b40149
parentd72177fd4db4389689051dffc7c74a84e58dc4a4
Compilation fix for wxUSE_UNICODE_WCHAR && !wxUSE_STL_BASED_WXSTRING.

Construct wxScopedWCharBuffer using CreateNonOwned() in
wxString::ToStdWstring() in this case, creating it directly from wc_str()
doesn't work (intentionally, as this doesn't tell if the buffer owns the
string or not).

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