%{
#include "wxPython.h"
#include "IEHtmlWin.h"
+#include "pyistream.h"
%}
//---------------------------------------------------------------------------
%extern _defs.i
%extern misc.i
%extern events.i
+%extern streams.i
%pragma(python) code = "import wx"
{
public:
wxMSHTMLEvent(wxEventType commandType = wxEVT_NULL, int id = 0);
- wxString GetText();
+ wxString GetText1();
long GetLong1();
long GetLong2();
};
void LoadUrl(const wxString&);
bool LoadString(wxString html);
- /* bool LoadStream(istream *strm); */
+ bool LoadStream(wxInputStream *is);
+
+ %pragma(python) addtoclass = "Navigate = LoadUrl"
void SetCharset(wxString charset);
void SetEditMode(bool seton);
bool GoForward();
bool GoHome();
bool GoSearch();
- bool Refresh(wxIEHtmlRefreshLevel level);
+ %name(RefreshPage)bool Refresh(wxIEHtmlRefreshLevel level);
bool Stop();
};
%init %{
- wxClassInfo::CleanUpClasses();
- wxClassInfo::InitializeClasses();
-
%}
//----------------------------------------------------------------------