Added wxDataViewListIndexModel::Reset(), clarified and corrected wxDataViewModel::Cleared(), corrected sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2206,9 +2206,11 @@ bool wxDataViewMainWindow::ValueChanged( const wxDataViewItem & item, unsigned i
|
||||
|
||||
bool wxDataViewMainWindow::Cleared()
|
||||
{
|
||||
SortPrepare();
|
||||
|
||||
DestroyTree();
|
||||
|
||||
SortPrepare();
|
||||
BuildTree( GetOwner()->GetModel() );
|
||||
|
||||
UpdateDisplay();
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user