X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/385721a888e3bbe72485ebc5ae8faf4b0c160042..0d2653ff9752af0cb4ba2b9fc9090700805cb4c5:/wxPython/src/html.i?ds=sidebyside diff --git a/wxPython/src/html.i b/wxPython/src/html.i index e667d46e98..8450f856f3 100644 --- a/wxPython/src/html.i +++ b/wxPython/src/html.i @@ -972,7 +972,7 @@ public: const wxString& normal_face = wxPyEmptyString, const wxString& fixed_face = wxPyEmptyString); - int Render(int x, int y, int from = 0, int dont_render = false, int to = INT_MAX, + int Render(int x, int y, int from = 0, int dont_render = false, int maxHeight = INT_MAX, //int *known_pagebreaks = NULL, int number_of_pages = 0 int* choices=NULL, int LCOUNT = 0 ); @@ -1045,7 +1045,7 @@ public: void PreviewText(const wxString &htmltext, const wxString& basepath = wxPyEmptyString); void PrintFile(const wxString &htmlfile); void PrintText(const wxString &htmltext, const wxString& basepath = wxPyEmptyString); - void PrinterSetup(); +// void PrinterSetup(); void PageSetup(); void SetHeader(const wxString& header, int pg = wxPAGE_ALL); void SetFooter(const wxString& footer, int pg = wxPAGE_ALL); @@ -1195,9 +1195,10 @@ enum { MustHaveApp(wxHtmlHelpController); -class wxHtmlHelpController : public wxEvtHandler { +class wxHtmlHelpController : public wxObject // wxHelpControllerBase +{ public: - %pythonAppend wxHtmlHelpController "self._setOORInfo(self)" +// %pythonAppend wxHtmlHelpController "self._setOORInfo(self)" wxHtmlHelpController(int style = wxHF_DEFAULTSTYLE); ~wxHtmlHelpController();