]> git.saurik.com Git - wxWidgets.git/commitdiff
use the selection background colour set using SetSelectionBackground() in GetSelected...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Mar 2008 23:33:38 +0000 (23:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Mar 2008 23:33:38 +0000 (23:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/htmllbox.cpp

index c1cc584ae549084770857241b9f5855a904cb79f..62abb071713004045ab6ed96ab112430f67956d5 100644 (file)
@@ -278,7 +278,7 @@ wxHtmlListBox::GetSelectedTextColour(const wxColour& WXUNUSED(colFg)) const
 wxColour
 wxHtmlListBox::GetSelectedTextBgColour(const wxColour& WXUNUSED(colBg)) const
 {
-    return wxNullColour;
+    return GetSelectionBackground();
 }
 
 // ----------------------------------------------------------------------------