]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
Add missing wxEVT_COMMAND_TEXT_ENTER
[wxWidgets.git] / src / html / htmprint.cpp
index 9becb22f5be75c1f5a9ff2be457d763f0f35c070..b91f4b1d089ed3caec86bbef7cd2c834318f9e45 100644 (file)
@@ -151,7 +151,7 @@ int wxHtmlDCRenderer::Render(int x, int y,
     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;