From 5ae69f626a05b728c7b648afcca7057350bd8054 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 3 Mar 2008 23:33:38 +0000 Subject: [PATCH] use the selection background colour set using SetSelectionBackground() in GetSelectedTextBgColour() by default git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/htmllbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index c1cc584ae5..62abb07171 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -278,7 +278,7 @@ wxHtmlListBox::GetSelectedTextColour(const wxColour& WXUNUSED(colFg)) const wxColour wxHtmlListBox::GetSelectedTextBgColour(const wxColour& WXUNUSED(colBg)) const { - return wxNullColour; + return GetSelectionBackground(); } // ---------------------------------------------------------------------------- -- 2.45.2