X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4391d97b25fd40caf3723a79db8843a6bfc3fa17..d359a38002a9a577fcd7c16ca3ed0f2e874bded7:/wxPython/src/_artprov.i?ds=sidebyside diff --git a/wxPython/src/_artprov.i b/wxPython/src/_artprov.i index 8e10f6e9fd..3213543a55 100644 --- a/wxPython/src/_artprov.i +++ b/wxPython/src/_artprov.i @@ -243,7 +243,7 @@ class wxPyArtProvider /*: public wxObject*/ { public: - %pythonAppend wxPyArtProvider "self._setCallbackInfo(self, ArtProvider)" + %pythonAppend wxPyArtProvider setCallbackInfo(ArtProvider); wxPyArtProvider(); ~wxPyArtProvider(); @@ -254,12 +254,12 @@ public: DocDeclStr( static void , Push(wxPyArtProvider *provider), "Add new provider to the top of providers stack.", ""); - %pythoncode { PushProvider = wx._deprecated(Push, "See `Push`") } + %pythoncode { PushProvider = Push } DocDeclStr( static void , Insert(wxPyArtProvider *provider), "Add new provider to the bottom of providers stack.", ""); - %pythoncode { InsertProvider = wx._deprecated(Insert, "See `Insert`") } + %pythoncode { InsertProvider = Insert } %cleardisown( wxPyArtProvider *provider ); @@ -267,14 +267,14 @@ public: DocDeclStr( static bool , Pop(), "Remove latest added provider and delete it.", ""); - %pythoncode { PopProvider = wx._deprecated(Pop, "See `Pop`") } + %pythoncode { PopProvider = Pop } %pythonAppend Delete "args[1].thisown = 1"; DocDeclStr( static bool , Delete(wxPyArtProvider *provider), "Remove provider. The provider must have been added previously! The provider is _not_ deleted.", ""); - %pythoncode { RemoveProvider = wx._deprecated(Delete, "See `Delete`") } + %pythoncode { RemoveProvider = Delete } DocDeclStr( @@ -299,7 +299,7 @@ topmost provider if platform_dependent = false", ""); - %pythonAppend Destroy "args[0].thisown = 0" + %pythonPrepend Destroy "args[0].this.own(False)" %extend { void Destroy() { delete self; }} };