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:
@@ -162,6 +162,12 @@ typedef unsigned long wxUIntPtr;
|
||||
%pythoncode { NAME = property(STUFF) }
|
||||
%enddef
|
||||
|
||||
|
||||
%define setCallbackInfo(klass)
|
||||
"klass._setCallbackInfo(self, self, klass)"
|
||||
%enddef
|
||||
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// Macros for the docstring and autodoc features of SWIG. These will
|
||||
// help make the code look more readable, and pretty, as well as help
|
||||
|
Reference in New Issue
Block a user