]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlcell.cpp
sizeof(char) is 1. By definition.
[wxWidgets.git] / src / html / htmlcell.cpp
index 9966a16c091560b0f8bb334b79cea1c6414a65ea..53699fc856e114349f96edb6417885dfcb7cf3ea 100644 (file)
@@ -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),