X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..d8812c6e0e780fb2dae99bc352c5061f58793e14:/include/wx/html/htmprint.h diff --git a/include/wx/html/htmprint.h b/include/wx/html/htmprint.h index da25bc2813..1598718cc4 100644 --- a/include/wx/html/htmprint.h +++ b/include/wx/html/htmprint.h @@ -78,7 +78,7 @@ public: // // 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) @@ -256,6 +256,11 @@ public: // 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);