//
// CAUTION! Render() changes DC's user scale and does NOT restore it!
int Render(int x, int y, wxArrayInt& known_pagebreaks, int from = 0,
- int dont_render = FALSE, int to = INT_MAX);
+ int dont_render = false, int to = INT_MAX);
// returns total height of the html document
// (compare Render's return value with this)
// return page setting data objects.
// (You can set their parameters.)
+ wxWindow* GetParentWindow() const { return m_ParentWindow; }
+ // get the parent window
+ void SetParentWindow(wxWindow* window) { m_ParentWindow = window; }
+ // set the parent window
+
protected:
virtual wxHtmlPrintout *CreatePrintout();
virtual bool DoPreview(wxHtmlPrintout *printout1, wxHtmlPrintout *printout2);