no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7b92350b2e
commit
06110b0006
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user