Clear columns on destruction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -476,6 +476,8 @@ public:
|
||||
this->Create(parent, id, pos, size, style, validator );
|
||||
}
|
||||
|
||||
~wxDataViewCtrl();
|
||||
|
||||
// explicit control creation
|
||||
bool Create(wxWindow *parent, wxWindowID id, wxPoint const& pos=wxDefaultPosition, wxSize const& size=wxDefaultSize, long style=0,
|
||||
wxValidator const& validator=wxDefaultValidator);
|
||||
|
@@ -1078,6 +1078,13 @@ IMPLEMENT_ABSTRACT_CLASS(wxDataViewColumn,wxDataViewColumnBase)
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxDataViewCtrl
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
wxDataViewCtrl::~wxDataViewCtrl()
|
||||
{
|
||||
ClearColumns();
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
void wxDataViewCtrl::Init()
|
||||
{
|
||||
|
Reference in New Issue
Block a user