]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
missign app.h header
[wxWidgets.git] / src / html / htmprint.cpp
index 099cf3bbd546057ffe23c39fd55b750cae74f199..121503447e0197766330f8c13d182d869812ae78 100644 (file)
@@ -114,12 +114,15 @@ int wxHtmlDCRenderer::Render(int x, int y, int from, int dont_render, int to, in
 
     if (!dont_render)
     {
+        wxHtmlRenderingInfo rinfo;
+        wxDefaultHtmlRenderingStyle rstyle;
+        rinfo.SetStyle(&rstyle);
         m_DC->SetBrush(*wxWHITE_BRUSH);
-
         m_DC->SetClippingRegion(x, y, m_Width, hght);
         m_Cells->Draw(*m_DC,
-                        x, (y - from),
-                        y, pbreak + (y /*- from*/));
+                      x, (y - from),
+                      y, pbreak + (y /*- from*/),
+                      rinfo);
         m_DC->DestroyClippingRegion();
     }