X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c0a71a250ae99e373db1eeb7ba2a3107f158239..111ba6b820e539db470a38b238c4658477fbd425:/src/richtext/richtextprint.cpp?ds=sidebyside diff --git a/src/richtext/richtextprint.cpp b/src/richtext/richtextprint.cpp index 5aa23ca70f..1082eabbf1 100644 --- a/src/richtext/richtextprint.cpp +++ b/src/richtext/richtextprint.cpp @@ -189,7 +189,7 @@ void wxRichTextPrintout::RenderPage(wxDC *dc, int page) dc->SetTextForeground(m_headerFooterData.GetTextColour()); else dc->SetTextForeground(*wxBLACK); - dc->SetBackgroundMode(wxTRANSPARENT); + dc->SetBackgroundMode(wxBRUSHSTYLE_TRANSPARENT); // Draw header, if any wxRichTextOddEvenPage oddEven = ((page % 2) == 1) ? wxRICHTEXT_PAGE_ODD : wxRICHTEXT_PAGE_EVEN;