Don't call wxSafeYield() from wxGenericListCtrl::EditLabel().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Oct 2012 18:22:39 +0000 (18:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Oct 2012 18:22:39 +0000 (18:22 +0000)
commit9db177273906bb393b97b4a98f6a8b4d61e8f0e3
tree44037ad581f3aa08c2fd68cb6f8a4645176213bc
parentfe6afcb339984c1ff94ccb5138524e7a06a62e1f
Don't call wxSafeYield() from wxGenericListCtrl::EditLabel().

This could result in wxYield() reentrancy and while it could be avoided by
using wxSafeYield(NULL, true /* only if needed */) it seems that we don't
actually need to yield here at all and a simple Update() should be enough.

Closes #14727.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/listctrl.cpp