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: