From: Vadim Zeitlin Date: Mon, 3 Mar 2008 23:33:38 +0000 (+0000) Subject: use the selection background colour set using SetSelectionBackground() in GetSelected... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5ae69f626a05b728c7b648afcca7057350bd8054 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 --- 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(); } // ----------------------------------------------------------------------------