git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13657
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// true if the wide char encoding we use (i.e. ms_wcCharsetName) has
// different endian-ness than the native one
- static bool ms_wcNeedsSwap = FALSE;
+ static bool ms_wcNeedsSwap;
};
const char *IC_CharSet::ms_wcCharsetName = NULL;
+bool IC_CharSet::ms_wcNeedsSwap = FALSE;
IC_CharSet::IC_CharSet(const wxChar *name)
: wxCharacterSet(name)
{
w2m = iconv_open(wxConvLibc.cWX2MB(name), ms_wcCharsetName);
}
+ else
+ {
+ w2m = (iconv_t)-1;
+ }
}
IC_CharSet::~IC_CharSet()