]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed text fg colour for selected but unfocused items
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Aug 2001 15:22:15 +0000 (15:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 Aug 2001 15:22:15 +0000 (15:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/treectlg.cpp

index f2b3ca9dde89d3af36e5720f41b46d284d60b949..370cbab69530fa2818c8bf4556e6041fb877def9 100644 (file)
@@ -2018,7 +2018,7 @@ void wxGenericTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level
             wxTRANSPARENT_PEN;
 
         wxColour colText;
-        if (item->IsSelected() && m_hasFocus)
+        if ( item->IsSelected() )
         {
             colText = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_HIGHLIGHTTEXT);
         }