Close the Tree Control editor correctly

Ensure that wxTreeItemData is deleted.
Use a QT delegate to create editor and perform custom model update.
Connect to the closeEditor signal to send out end label edit events and decide whether to accept changes.
This commit is contained in:
Matthew Griffin
2019-05-30 10:47:09 +01:00
parent b9382b99b4
commit 77d5d31690
6 changed files with 119 additions and 13 deletions

View File

@@ -281,6 +281,7 @@ set(QT_HDR
wx/qt/private/winevent.h
wx/qt/private/timer.h
wx/qt/private/pointer.h
wx/qt/private/treeitemdelegate.h
wx/qt/private/treeitemfactory.h
wx/qt/private/utils.h
)