]> git.saurik.com Git - wxWidgets.git/commit
Fix wxStringOutputStream in wxUSE_UNICODE_UTF8 build.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Jun 2011 16:22:15 +0000 (16:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Jun 2011 16:22:15 +0000 (16:22 +0000)
commitff8a5f3d770ececb453dfb5df57aee884cff0434
tree2573692f4aede646d0bfde26de46e967ba0198c7
parent31eb7307280cadf26d39ea0c9fc052712a3f7f4a
Fix wxStringOutputStream in wxUSE_UNICODE_UTF8 build.

For some reason the conversion of the bytes written to this stream to Unicode
was only done in wxUSE_UNICODE_WCHAR build but not in wxUSE_UNICODE_UTF8 one.
Do it in any wxUSE_UNICODE build now.

This allows to use wxStringOutputStream under Unix again, in particular it
fixes an assert in samples/html/zip when trying to load the raw contents of a
ZIP file in wxHtmlWindow.

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