%addtofunc --> %pythonAppend
Also used %pythonPrepend to provide backwards compatibility for a few parameter name changes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -140,7 +140,7 @@ IMP_PYCALLBACK_BOOL_NODE_pure(wxPyXmlResourceHandler, wxXmlResourceHandler, CanH
|
||||
|
||||
%name(XmlResourceHandler) class wxPyXmlResourceHandler : public wxObject {
|
||||
public:
|
||||
%addtofunc wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)"
|
||||
%pythonAppend wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)"
|
||||
wxPyXmlResourceHandler() : wxXmlResourceHandler() {}
|
||||
//~wxPyXmlResourceHandler();
|
||||
|
||||
|
@@ -44,9 +44,9 @@ class wxXmlResource : public wxObject
|
||||
{
|
||||
public:
|
||||
|
||||
%addtofunc wxXmlResource(const wxString& filemask, int flags) "self.InitAllHandlers()"
|
||||
%pythonAppend wxXmlResource(const wxString& filemask, int flags) "self.InitAllHandlers()"
|
||||
|
||||
%addtofunc wxXmlResource(int flags) "val.InitAllHandlers()"
|
||||
%pythonAppend wxXmlResource(int flags) "val.InitAllHandlers()"
|
||||
|
||||
// Ctors.
|
||||
// Flags: wxXRC_USE_LOCALE
|
||||
|
@@ -34,7 +34,7 @@ IMP_PYCALLBACK_OBJECT_STRING_pure(wxPyXmlSubclassFactory, wxXmlSubclassFactory,
|
||||
|
||||
%name(XmlSubclassFactory)class wxPyXmlSubclassFactory {
|
||||
public:
|
||||
%addtofunc wxPyXmlSubclassFactory "self._setCallbackInfo(self, XmlSubclassFactory)"
|
||||
%pythonAppend wxPyXmlSubclassFactory "self._setCallbackInfo(self, XmlSubclassFactory)"
|
||||
wxPyXmlSubclassFactory();
|
||||
void _setCallbackInfo(PyObject* self, PyObject* _class);
|
||||
};
|
||||
|
Reference in New Issue
Block a user