Use a swig macro for generating the call to the _setCallbackInfo

function so it's easy to fiddle with, if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-11-14 22:03:54 +00:00
parent 13b955a755
commit c25f90f60c
76 changed files with 348 additions and 331 deletions

View File

@@ -143,7 +143,7 @@ IMP_PYCALLBACK_BOOL_NODE_pure(wxPyXmlResourceHandler, wxXmlResourceHandler, CanH
%rename(XmlResourceHandler) wxPyXmlResourceHandler;
class wxPyXmlResourceHandler : public wxObject {
public:
%pythonAppend wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)"
%pythonAppend wxPyXmlResourceHandler setCallbackInfo(XmlResourceHandler)
wxPyXmlResourceHandler() : wxXmlResourceHandler() {}
~wxPyXmlResourceHandler();