]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
Temporary fix for link error to ~wxZipOutputStream()
[wxWidgets.git] / src / generic / listctrl.cpp
index f02f3b99cc60f2fffcaf19bac13a7388666dcb42..5c5a6b521c89be50294d4872d96d02e9d88cd10b 100644 (file)
@@ -2147,7 +2147,7 @@ void wxListTextCtrl::OnKeyUp( wxKeyEvent &event )
 
 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: