No real changes, just don't use brush styles for background mode in wxHTML.
Use just wxTRANSPARENT and wxSOLID instead of wxBRUSHSTYLE_TRANSPARENT and wxBRUSHSTYLE_SOLID when changing the background mode. See #14599. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -496,7 +496,7 @@ static void SwitchSelState(wxDC& dc, wxHtmlRenderingInfo& info,
|
||||
|
||||
if ( toSelection )
|
||||
{
|
||||
dc.SetBackgroundMode(wxBRUSHSTYLE_SOLID);
|
||||
dc.SetBackgroundMode(wxSOLID);
|
||||
dc.SetTextForeground(info.GetStyle().GetSelectedTextColour(fg));
|
||||
dc.SetTextBackground(info.GetStyle().GetSelectedTextBgColour(bg));
|
||||
dc.SetBackground(wxBrush(info.GetStyle().GetSelectedTextBgColour(bg),
|
||||
|
Reference in New Issue
Block a user