/////////////////////////////////////////////////////////////////////////////
-%module iewin
+%module(package="wx") iewin
%{
#include "wx/wxPython/wxPython.h"
//---------------------------------------------------------------------------
%import core.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
+%pythoncode {
+ import warnings
+ warnings.warn("This module is deprecated. Please use the wx.lib.iewin module instead.",
+ DeprecationWarning, stacklevel=2)
+}
MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr);
};
-%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)
};
+MustHaveApp(wxIEHtmlWin);
+
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,