]> 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 1d3d6605ec8999001360fd4be91595e21be000fe..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:
@@ -4636,7 +4636,7 @@ void wxListMainWindow::OnScroll(wxScrollWinEvent& event)
     ResetVisibleLinesRange();
 
     // FIXME
-#if defined(__WXGTK__) && !defined(__WXUNIVERSAL__)
+#if ( defined(__WXGTK__) || defined(__WXMAC__) ) && !defined(__WXUNIVERSAL__)
     wxScrolledWindow::OnScroll(event);
 #else
     HandleOnScroll( event );