X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5d99d7b5c4afa4fba509d751937d5e6cb7b2703..aa61d3525370a9b9fa8c797d9b7f89d96994db5f:/include/wx/sstream.h diff --git a/include/wx/sstream.h b/include/wx/sstream.h index b264c67021..02f878681b 100644 --- a/include/wx/sstream.h +++ b/include/wx/sstream.h @@ -83,8 +83,12 @@ private: // position in the stream in bytes, *not* in chars size_t m_pos; +#if wxUSE_WCHAR_T // string encoding converter (UTF8 is the standard) wxMBConvUTF8 m_conv; +#else + wxMBConv m_conv; +#endif DECLARE_NO_COPY_CLASS(wxStringOutputStream) };