added refcounting to wxCharBuffer to fix passing of wxCharBuffer to printf-like functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2009,3 +2009,15 @@ wxUTF8StringBufferLength::~wxUTF8StringBufferLength()
|
||||
wbuf.SetLength(wlen);
|
||||
}
|
||||
#endif // wxUSE_UNICODE_WCHAR
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxCharBufferType<T>
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
template<>
|
||||
wxCharTypeBuffer<char>::Data
|
||||
wxCharTypeBuffer<char>::NullData(NULL);
|
||||
|
||||
template<>
|
||||
wxCharTypeBuffer<wchar_t>::Data
|
||||
wxCharTypeBuffer<wchar_t>::NullData(NULL);
|
||||
|
||||
Reference in New Issue
Block a user