]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sstream.h
Compilation fix for old GCC versions.
[wxWidgets.git] / include / wx / sstream.h
index b264c670216d9704968cd05bf9f31fcd619b6310..02f878681b10fd71ae52e66220397fca4c1365e0 100644 (file)
@@ -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)
 };