X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4725f47eb2f5a5b131bc2d54804d9a19068daab2..47136f0f6d2f002d29d200db80d5635f2f53628b:/wxPython/src/html.i?ds=sidebyside diff --git a/wxPython/src/html.i b/wxPython/src/html.i index 722f520a9d..f272833ff8 100644 --- a/wxPython/src/html.i +++ b/wxPython/src/html.i @@ -38,9 +38,6 @@ %pythoncode { wx = _core } %pythoncode { __docfilter__ = wx.__DocFilter(globals()) } -%include _html_rename.i - - MAKE_CONST_WXSTRING_NOSWIG(EmptyString); MAKE_CONST_WXSTRING2(HtmlWindowNameStr, wxT("htmlWindow")) MAKE_CONST_WXSTRING2(HtmlPrintoutTitleStr, wxT("Printout")) @@ -568,7 +565,8 @@ public: const wxPoint& pos, const wxMouseEvent& event); - bool AdjustPagebreak(int* INOUT); +// TODO: bool AdjustPagebreak(int* INOUT, +// wxArrayInt& known_pagebreaks); void SetCanLiveOnPagebreak(bool can); // Can the line be broken before this cell? @@ -956,7 +954,7 @@ public: // Set HTML page and display it. !! source is HTML document itself, // it is NOT address/filename of HTML document. If you want to - // specify document location, use LoadPage() istead + // specify document location, use LoadPage() instead // Return value : False if an error occurred, True otherwise bool SetPage(const wxString& source); @@ -1149,10 +1147,8 @@ 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 maxHeight = INT_MAX, - //int *known_pagebreaks = NULL, int number_of_pages = 0 - int* choices=NULL, int LCOUNT = 0 - ); + int Render(int x, int y, wxArrayInt& known_pagebreaks, int from = 0, + int dont_render = FALSE, int to = INT_MAX); int GetTotalHeight(); // returns total height of the html document // (compare Render's return value with this)