X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/994453b843b007de6367fedbf4a49ac9d920c63c..9e477492e29e03c02827b1e42a16cb09a13f5149:/wxPython/src/_defs.i diff --git a/wxPython/src/_defs.i b/wxPython/src/_defs.i index 1aa7ff32b0..7723185846 100644 --- a/wxPython/src/_defs.i +++ b/wxPython/src/_defs.i @@ -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