]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
Move code that does not need realized GdkWinow out of realize handler
[wxWidgets.git] / src / html / htmprint.cpp
index b91f4b1d089ed3caec86bbef7cd2c834318f9e45..dd7682ee9eeb55c8a858fefc6daf642c31639ee8 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     html printing classes
 // Author:      Vaclav Slavik
 // Created:     25/09/99
-// RCS-ID:      $Id$
 // Copyright:   (c) Vaclav Slavik, 1999
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -534,7 +533,7 @@ void wxHtmlPrintout::RenderPage(wxDC *dc, int page)
                       (double)ppiPrinterY / TYPICAL_SCREEN_DPI,
                       (double)ppiPrinterY / (double)ppiScreenY);
 
-    dc->SetBackgroundMode(wxBRUSHSTYLE_TRANSPARENT);
+    dc->SetBackgroundMode(wxTRANSPARENT);
 
     m_Renderer->Render((int) (ppmm_h * m_MarginLeft),
                          (int) (ppmm_v * (m_MarginTop + (m_HeaderHeight == 0 ? 0 : m_MarginSpace)) + m_HeaderHeight), m_PageBreaks,