X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c848185a6e40ca6959b4084a4849209453cd7787..3201a1046ba71ba8e5ef2ed694fde34d12f743f3:/src/generic/htmllbox.cpp?ds=sidebyside

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();
 }
 
 // ----------------------------------------------------------------------------