X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/165e6ca32aa83302b31a20bdce2ff9d3b9710192..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/contrib/iewin/iewin.i diff --git a/wxPython/contrib/iewin/iewin.i b/wxPython/contrib/iewin/iewin.i index 72342916c0..f55d9260a4 100644 --- a/wxPython/contrib/iewin/iewin.i +++ b/wxPython/contrib/iewin/iewin.i @@ -11,7 +11,7 @@ ///////////////////////////////////////////////////////////////////////////// -%module iewin +%module(package="wx") iewin %{ #include "wx/wxPython/wxPython.h" @@ -78,6 +78,8 @@ enum wxIEHtmlRefreshLevel { }; +MustHaveApp(wxIEHtmlWin); + class wxIEHtmlWin : public wxWindow /* wxActiveX */ { public: @@ -98,14 +100,14 @@ public: void SetCharset(wxString charset); void SetEditMode(bool seton); bool GetEditMode(); - wxString GetStringSelection(bool asHTML = False); - wxString GetText(bool asHTML = False); + wxString GetStringSelection(bool asHTML = false); + wxString GetText(bool asHTML = false); bool GoBack(); bool GoForward(); bool GoHome(); bool GoSearch(); - %name(RefreshPage)bool Refresh(wxIEHtmlRefreshLevel level); + %Rename(RefreshPage, bool, Refresh(wxIEHtmlRefreshLevel level)); bool Stop(); };