Remove useless initializations

wxObject-derived types and wxString are null/empty by default.
This commit is contained in:
Paul Cornett
2018-08-22 09:19:15 -07:00
parent 41d534ac0d
commit f4bcb12709
10 changed files with 7 additions and 20 deletions

View File

@@ -3516,7 +3516,6 @@ void wxGenericTreeCtrl::OnRenameCancelled(wxGenericTreeItem *item)
{
// let owner know that the edit was cancelled
wxTreeEvent le(wxEVT_TREE_END_LABEL_EDIT, this, item);
le.m_label = wxEmptyString;
le.m_editCancelled = true;
GetEventHandler()->ProcessEvent( le );