changing wxxVariant signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d56cc7b1bc
commit
12a5e73be6
@ -424,7 +424,7 @@ public :
|
|||||||
wxxVariant( wxxVariantData* data , const wxString& name = wxT("") ) : m_data(data) , m_name(name) {}
|
wxxVariant( wxxVariantData* data , const wxString& name = wxT("") ) : m_data(data) , m_name(name) {}
|
||||||
wxxVariant( const wxxVariant &d ) { if ( d.m_data ) m_data = d.m_data->Clone() ; else m_data = NULL ; m_name = d.m_name ; }
|
wxxVariant( const wxxVariant &d ) { if ( d.m_data ) m_data = d.m_data->Clone() ; else m_data = NULL ; m_name = d.m_name ; }
|
||||||
|
|
||||||
template<typename T> wxxVariant( T data , const wxString& name = wxT("") ) :
|
template<typename T> wxxVariant( const T& data , const wxString& name = wxT("") ) :
|
||||||
m_data(new wxxVariantDataT<T>(data) ), m_name(name) {}
|
m_data(new wxxVariantDataT<T>(data) ), m_name(name) {}
|
||||||
|
|
||||||
~wxxVariant() { delete m_data ; }
|
~wxxVariant() { delete m_data ; }
|
||||||
|
Loading…
Reference in New Issue
Block a user