no changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-10-07 23:06:16 +00:00
parent 7b92350b2e
commit 06110b0006

View File

@ -2455,14 +2455,7 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
event.m_item = info->item.hItem;
event.m_label = info->item.pszText;
if (info->item.pszText == NULL)
{
event.m_editCancelled = true;
}
else
{
event.m_editCancelled = false;
}
event.m_editCancelled = info->item.pszText == NULL;
break;
}