]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
WinCE fixes
[wxWidgets.git] / src / generic / listctrl.cpp
index f02f3b99cc60f2fffcaf19bac13a7388666dcb42..60bc7d5a9d479f0ac7f43ef7717f9fd42313b7df 100644 (file)
@@ -837,11 +837,7 @@ protected:
     // get the colour to be used for drawing the rules
     wxColour GetRuleColour() const
     {
-#ifdef __WXMAC__
-        return *wxWHITE;
-#else
         return wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT);
-#endif
     }
 
 private:
@@ -2147,7 +2143,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: