X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de7b7fe6f65766e9f15a996c7ee8105a7eaa78eb..69d818954b5e6e7b4b4e5093dd26dbe2d5f8546c:/wxPython/contrib/iewin/iewin.i?ds=sidebyside diff --git a/wxPython/contrib/iewin/iewin.i b/wxPython/contrib/iewin/iewin.i index f2d4027222..01764566aa 100644 --- a/wxPython/contrib/iewin/iewin.i +++ b/wxPython/contrib/iewin/iewin.i @@ -53,8 +53,7 @@ enum { }; -%pythoncode { - +%pythoncode { EVT_MSHTML_BEFORENAVIGATE2 = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2, 1) EVT_MSHTML_NEWWINDOW2 = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_NEWWINDOW2, 1) EVT_MSHTML_DOCUMENTCOMPLETE = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE, 1) @@ -76,7 +75,7 @@ enum wxIEHtmlRefreshLevel { class wxIEHtmlWin : public wxWindow /* wxActiveX */ { public: - %addtofunc wxIEHtmlWin "self._setOORInfo(self)" + %pythonAppend wxIEHtmlWin "self._setOORInfo(self)" wxIEHtmlWin(wxWindow * parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,