diff --git a/wxPython/contrib/iewin/iewin.i b/wxPython/contrib/iewin/iewin.i index 8ea307ec71..72342916c0 100644 --- a/wxPython/contrib/iewin/iewin.i +++ b/wxPython/contrib/iewin/iewin.i @@ -26,6 +26,11 @@ %import core.i %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); diff --git a/wxPython/contrib/iewin/iewin.py b/wxPython/contrib/iewin/iewin.py index 81ee6579bb..ad3d0077d0 100644 --- a/wxPython/contrib/iewin/iewin.py +++ b/wxPython/contrib/iewin/iewin.py @@ -6,6 +6,10 @@ import _iewin import _core wx = _core __docfilter__ = wx.__DocFilter(globals()) +import warnings +warnings.warn("This module is deprecated. Please use the wx.lib.iewin module instead.", + DeprecationWarning, stacklevel=2) + class MSHTMLEvent(_core.NotifyEvent): def __repr__(self): return "<%s.%s; proxy of C++ wxMSHTMLEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index 564f883c82..ec796a6927 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -29,6 +29,12 @@ parameters. Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows all columns of a wx.ListCtrl in report mode to be edited. +Deprecated the wx.iewin module. + +Deprecated the wx.Sizer.AddWindow, AddSizer, AddSpacer methods as well +as their Insert* and Prepend* counterparts. + + 2.5.1.5