X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e61dfb0e8a33da1be9ab77d92fe5369209ce60c..7826e2dd838d59c6a8061b4fdd9f7326a6e06de3:/src/common/strconv.cpp?ds=sidebyside diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index baed36b001..d85340b877 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -87,6 +87,8 @@ WXDLLEXPORT_DATA(wxMBConv *) wxConvCurrent = &wxConvLibc; #if wxUSE_WCHAR_T +#ifdef WC_UTF16 + static size_t encode_utf16(wxUint32 input,wxUint16*output) { if (input<=0xffff) { @@ -119,6 +121,8 @@ static size_t decode_utf16(wxUint16*input,wxUint32&output) } } +#endif // WC_UTF16 + // ---------------------------------------------------------------------------- // wxMBConv // ----------------------------------------------------------------------------