Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.html.HtmlDCRenderer.FindNextPageBreak.1.py
2019-05-24 15:35:56 -07:00

9 lines
230 B
Python

pages = []
while pos != wx.NOT_FOUND:
pos = renderer.FindNextPageBreak(pos)
pages.append(pos)
# "pages" now contains all page break positions and, in
# particular, its size is the number of pages