]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
Applied patch [ 710608 ] wxImage::GetImageExtWildcard for image load/save dialogs.
[wxWidgets.git] / src / html / htmprint.cpp
index 099cf3bbd546057ffe23c39fd55b750cae74f199..d4547f8da7430b90277c6266f13aa6999d5f37ad 100644 (file)
@@ -114,12 +114,13 @@ int wxHtmlDCRenderer::Render(int x, int y, int from, int dont_render, int to, in
 
     if (!dont_render)
     {
+        wxHtmlRenderingState rstate(NULL);
         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*/),
+                      rstate);
         m_DC->DestroyClippingRegion();
     }