fix DLL build with MSVC: it wasn't happy that some functions of a template class were not implemented, so get rid of FromCStrData() and implement its logic in one of the 2 derived classes ctors instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2045,10 +2045,9 @@ inline wxString& wxString::operator=(const wxCStrData& cstr)
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// FIXME-UTF8: move this to buffer.h; provide versions for both variants
|
||||
template<>
|
||||
inline void wxCharTypeBuffer<wxChar>::FromCStrData(const wxCStrData& cstr)
|
||||
inline wxWxCharBuffer::wxWxCharBuffer(const wxCStrData& cstr)
|
||||
: wxCharTypeBufferBase((const wxChar *)cstr)
|
||||
{
|
||||
m_str = wxStrDup(cstr.AsString());
|
||||
}
|
||||
|
||||
#endif // _WX_WXSTRINGH__
|
||||
|
Reference in New Issue
Block a user