int pbreak, hght;
pbreak = (int)(from + m_Height);
- while (m_Cells->AdjustPagebreak(&pbreak, known_pagebreaks)) {}
+ while (m_Cells->AdjustPagebreak(&pbreak, known_pagebreaks, m_Height)) {}
hght = pbreak - from;
if(to < hght)
hght = to;
(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,