From: Václav Slavík Date: Sun, 10 Aug 2008 20:29:11 +0000 (+0000) Subject: compilation fix: wxUString uses it's own wxCharTypeBuffer specializations and... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/283c84c22499e75468fd11a1a877255cb143740b compilation fix: wxUString uses it's own wxCharTypeBuffer specializations and so needs NullData definitions for them too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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