X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dccce9eae10e099d791cc055dd02d3dda731778e..83c22707a40f2b96601748bddbce4d927ab3c084:/src/common/strconv.cpp diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index 33b934ef9f..b8982301a6 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -44,9 +44,6 @@ #ifdef HAVE_ICONV_H #include #endif -#ifdef HAVE_LANGINFO_H - #include -#endif #ifdef __WXMSW__ #include @@ -727,6 +724,8 @@ wxCSConv::wxCSConv(const wxChar *charset) { m_name = (wxChar *)NULL; m_cset = (wxCharacterSet *) NULL; + m_deferred = TRUE; + SetName(charset); }