Put the deprecation wrapper on __init__, not the class

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-02-10 22:28:44 +00:00
parent 260c9c7df3
commit 874cc42557

View File

@ -438,9 +438,8 @@ public:
wxNotebook *GetNotebook();
};
%pythoncode { NotebookSizer = wx._deprecated(NotebookSizer, "NotebookSizer is no longer needed.") }
%pythoncode { BookCtrlSizer = wx._deprecated(BookCtrlSizer, "BookCtrlSizer is no longer needed.") }
%pythoncode { NotebookSizer.__init__ = wx._deprecated(NotebookSizer.__init__, "NotebookSizer is no longer needed.") }
%pythoncode { BookCtrlSizer.__init__ = wx._deprecated(BookCtrlSizer.__init__, "BookCtrlSizer is no longer needed.") }
//---------------------------------------------------------------------------