sorting support for generic version (patch 1765087 from Bo)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -161,11 +161,11 @@ public:
|
||||
{
|
||||
MyMusicModelNode *node = (MyMusicModelNode*) item.GetID();
|
||||
wxDataViewItem parent( node->GetParent() );
|
||||
node->GetParent()->GetChildren().Remove( node );
|
||||
delete node;
|
||||
|
||||
// notify control
|
||||
ItemDeleted( parent, item );
|
||||
node->GetParent()->GetChildren().Remove( node );
|
||||
delete node;
|
||||
}
|
||||
|
||||
// override sorting to always sort branches ascendingly
|
||||
|
Reference in New Issue
Block a user