]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextprint.cpp
added wxSpinCtrlDouble (slightly modified patch 1835864)
[wxWidgets.git] / src / richtext / richtextprint.cpp
index 5aa23ca70ff9d03d7f9da14706083d7b10f6d82b..1082eabbf1d51b6a5a3565ec26f27bef9cd1c0d3 100644 (file)
@@ -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;