X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83a732882adf32f93d25cd7e3a0ad20f7231ec49..c8431295224c1efb2f2cd22df468a9f1950a2e16:/wxPython/contrib/iewin/iewin.i?ds=sidebyside diff --git a/wxPython/contrib/iewin/iewin.i b/wxPython/contrib/iewin/iewin.i index 00de90791d..4420198602 100644 --- a/wxPython/contrib/iewin/iewin.i +++ b/wxPython/contrib/iewin/iewin.i @@ -16,6 +16,7 @@ %{ #include "wxPython.h" #include "IEHtmlWin.h" +#include "pyistream.h" %} //--------------------------------------------------------------------------- @@ -28,6 +29,7 @@ %extern _defs.i %extern misc.i %extern events.i +%extern streams.i %pragma(python) code = "import wx" @@ -101,7 +103,7 @@ public: void LoadUrl(const wxString&); bool LoadString(wxString html); - /* bool LoadStream(istream *strm); */ + bool LoadStream(wxInputStream *is); %pragma(python) addtoclass = "Navigate = LoadUrl" @@ -115,7 +117,7 @@ public: bool GoForward(); bool GoHome(); bool GoSearch(); - bool Refresh(wxIEHtmlRefreshLevel level); + %name(RefreshPage)bool Refresh(wxIEHtmlRefreshLevel level); bool Stop(); }; @@ -125,9 +127,6 @@ public: %init %{ - wxClassInfo::CleanUpClasses(); - wxClassInfo::InitializeClasses(); - %} //----------------------------------------------------------------------