split wxCharTypeBuffer<T> into wxScopedCharTypeBuffer<T> and wxCharTypeBuffer<T> -- the former is for transient data with validity limited to parent's lifetime, the latter is for permanent storage of string data (bug #9638)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -143,8 +143,8 @@ public:
|
||||
CtorString(const wchar_t *str) : m_str(str) {}
|
||||
CtorString(const wxString& str) : m_str(str) {}
|
||||
CtorString(const wxCStrData& str) : m_str(str) {}
|
||||
CtorString(const wxCharBuffer& str) : m_str(str) {}
|
||||
CtorString(const wxWCharBuffer& str) : m_str(str) {}
|
||||
CtorString(const wxScopedCharBuffer& str) : m_str(str) {}
|
||||
CtorString(const wxScopedWCharBuffer& str) : m_str(str) {}
|
||||
|
||||
operator const wxString*() const { return &m_str; }
|
||||
|
||||
|
Reference in New Issue
Block a user