wxWidgets/include
Vadim Zeitlin bfb893170e Fix initialization of SingleCharBuffer and Utf16CharBuffer data
Don't do it at all in the ctor, initializing just the first element of
the array is useless as it's overwritten by EncodeChar() anyhow, so just
leave the task of NUL-terminating the data to this function as well.

It might be even better to just have a ctor taking wxUniChar in these
classes instead and make EncodeChar() a trivial wrapper around it, but
for now just apply the minimal fix to repair the test breakage after the
last commit.

See https://github.com/wxWidgets/wxWidgets/pull/467#issuecomment-310384946
2017-06-22 15:55:24 +02:00
..
msvc/wx Add Microsoft Visual Studio 2017 solution file for building wxMSW 2017-01-16 17:02:10 +01:00
wx Fix initialization of SingleCharBuffer and Utf16CharBuffer data 2017-06-22 15:55:24 +02:00