X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..7bc740719c93355e447db5c9bcb24cf7cdc29b61:/src/html/m_layout.cpp diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index c54b437c86..cbbb4f9989 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -71,7 +71,8 @@ public: wxHtmlPageBreakCell() {} bool AdjustPagebreak(int* pagebreak, - wxArrayInt& known_pagebreaks) const; + const wxArrayInt& known_pagebreaks, + int pageHeight) const; void Draw(wxDC& WXUNUSED(dc), int WXUNUSED(x), int WXUNUSED(y), @@ -82,7 +83,10 @@ private: wxDECLARE_NO_COPY_CLASS(wxHtmlPageBreakCell); }; -bool wxHtmlPageBreakCell::AdjustPagebreak(int* pagebreak, wxArrayInt& known_pagebreaks) const +bool +wxHtmlPageBreakCell::AdjustPagebreak(int* pagebreak, + const wxArrayInt& known_pagebreaks, + int WXUNUSED(pageHeight)) const { // When we are counting pages, 'known_pagebreaks' is non-NULL. // That's the only time we change 'pagebreak'. Otherwise, pages