Make wxHtmlDCRenderer::FindNextPageBreak() const

It doesn't modify the renderer.
This commit is contained in:
Vadim Zeitlin
2018-05-25 01:31:54 +02:00
parent c5bb583cdf
commit 8d7601295b
2 changed files with 2 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ void wxHtmlDCRenderer::SetStandardFonts(int size,
// else: SetHtmlText() not yet called, no need for relayout
}
int wxHtmlDCRenderer::FindNextPageBreak(int pos)
int wxHtmlDCRenderer::FindNextPageBreak(int pos) const
{
// Stop looking for page breaks if the previous one was already at the end
// of the last page.