because that fix prevented anyone from finishing the
edit by keys.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33226
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxListTextCtrl::OnKillFocus( wxFocusEvent &event )
{
- if ( !m_finished )
+ if ( !m_finished && !m_aboutToFinish )
{
// We must finish regardless of success, otherwise we'll get
// focus problems:
void wxTreeTextCtrl::Finish()
{
- if ( !m_finished && !m_aboutToFinish )
+ if ( !m_finished )
{
m_owner->ResetTextControl();
void wxTreeTextCtrl::OnKillFocus( wxFocusEvent &event )
{
- if ( !m_finished )
+ if ( !m_finished && !m_aboutToFinish )
{
// We must finish regardless of success, otherwise we'll get
// focus problems: