Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Windows 10 (or Windows 7)
From what I can tell, it seems that I'm able to somehow select the label from behind the TextCtrl and trigger a second edit label instance that can't be closed.
When you left-click on a label, a TreeEditTimer is started. After
If you are already editing the label this shouldn't happen, but the TreeTextCtrl doesn't fully cover the label area. So if you click just outside the TreeTextCtrl, the
When you change the selection, only the most recent TreeTextCtrl is Destroyed and the old one is left orphaned in the tree.
Could be fixed in
@cbeytas Thank you for looking into this! It means a lot to me.
Based on your explanation, I added a condition for checking
That seems to have been enough to fix the issue.
In wxDemo you can see that the edit event is triggered multiple times, but a new TreeTextCtrl is not created.