Remove useless initializations
wxObject-derived types and wxString are null/empty by default.
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user