Patch #1111679
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b931414d91
commit
c145a47c6e
@ -390,6 +390,12 @@ bool wxTreeTextCtrl::AcceptChanges()
|
||||
if ( value == m_startValue )
|
||||
{
|
||||
// nothing changed, always accept
|
||||
// when an item remains unchanged, the owner
|
||||
// needs to be notified that the user decided
|
||||
// not to change the tree item label, and that
|
||||
// the edit has been cancelled
|
||||
|
||||
m_owner->OnRenameCancelled(m_itemEdited);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user