diff --git a/src/common/ustring.cpp b/src/common/ustring.cpp index cb7eb084c4..b3176323ee 100644 --- a/src/common/ustring.cpp +++ b/src/common/ustring.cpp @@ -545,4 +545,16 @@ wxU16CharBuffer wxUString::utf16_str() const return result; } - + + +#if SIZEOF_WCHAR_T != 2 +template<> +wxCharTypeBuffer::Data +wxCharTypeBuffer::NullData(NULL); +#endif + +#if SIZEOF_WCHAR_T != 4 +template<> +wxCharTypeBuffer::Data +wxCharTypeBuffer::NullData(NULL); +#endif