Corrected wxTreeCtrl and wxListCtrl end_label_edit event behaviour.
wxListCtrl doesn't send this event when the editing was cancelled. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2928,7 +2928,7 @@ void wxGenericTreeCtrl::OnRenameCancelled(wxGenericTreeItem *item)
|
||||
le.m_item = (long) item;
|
||||
le.SetEventObject( this );
|
||||
le.m_label = wxEmptyString;
|
||||
le.m_editCancelled = FALSE;
|
||||
le.m_editCancelled = TRUE;
|
||||
|
||||
GetEventHandler()->ProcessEvent( le );
|
||||
}
|
||||
|
Reference in New Issue
Block a user