X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f7e7edb78aa19d6aed53b113aa953c24d6335b1..09e72468cf6060886b951bc2485fa926c7a16aa2:/src/html/htmprint.cpp diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index 158483e3a9..80277e0336 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -132,7 +132,7 @@ int wxHtmlDCRenderer::Render(int x, int y, m_DC->SetClippingRegion(x, y, m_Width, hght); m_Cells->Draw(*m_DC, x, (y - from), - y, pbreak + (y /*- from*/), + y, y + hght, rinfo); m_DC->DestroyClippingRegion(); } @@ -200,8 +200,10 @@ void wxHtmlPrintout::OnPreparePrinting() int ppiPrinterX, ppiPrinterY; GetPPIPrinter(&ppiPrinterX, &ppiPrinterY); + wxUnusedVar(ppiPrinterX); int ppiScreenX, ppiScreenY; GetPPIScreen(&ppiScreenX, &ppiScreenY); + wxUnusedVar(ppiScreenX); wxDisplaySize(&scr_w, &scr_h); GetDC()->GetSize(&dc_w, &dc_h);