Fixes for using the staticmethods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-06 00:50:22 +00:00
parent dbe6f5f00b
commit 584d6f48b0
5 changed files with 21 additions and 21 deletions

View File

@@ -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(