Fix selection background colour in wxHtmlWindow
Use inactive selection colour when the window doesn't have focus.
This commit is contained in:
committed by
Vadim Zeitlin
parent
244547a010
commit
ef524931cc
@@ -159,7 +159,9 @@ private:
|
||||
class wxHtmlListBoxStyle : public wxDefaultHtmlRenderingStyle
|
||||
{
|
||||
public:
|
||||
wxHtmlListBoxStyle(const wxHtmlListBox& hlbox) : m_hlbox(hlbox) { }
|
||||
wxHtmlListBoxStyle(const wxHtmlListBox& hlbox)
|
||||
: wxDefaultHtmlRenderingStyle(&hlbox), m_hlbox(hlbox)
|
||||
{ }
|
||||
|
||||
virtual wxColour GetSelectedTextColour(const wxColour& colFg) wxOVERRIDE
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user