From: Vadim Zeitlin Date: Tue, 7 Oct 2003 23:06:16 +0000 (+0000) Subject: no changes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/06110b0006f7477a0aca90f75786ffb084d4204f no changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index f0f9fa1725..5ba4dc839c 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -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; }