X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c2dd16f5546ddfe754c671e0e7cc4e5bc561b4a..0a5bb138a71dfc1c706fc0858fb2801500e2c2e8:/wxPython/src/_font.i?ds=sidebyside diff --git a/wxPython/src/_font.i b/wxPython/src/_font.i index dcfe53b952..ac507526bc 100644 --- a/wxPython/src/_font.i +++ b/wxPython/src/_font.i @@ -861,11 +861,11 @@ MustHaveApp(wxPyFontEnumerator); %rename(FontEnumerator) wxPyFontEnumerator; class wxPyFontEnumerator { public: - %pythonAppend wxPyFontEnumerator "self._setCallbackInfo(self, FontEnumerator, 0)" + %pythonAppend wxPyFontEnumerator setCallbackInfo(FontEnumerator) wxPyFontEnumerator(); ~wxPyFontEnumerator(); - void _setCallbackInfo(PyObject* self, PyObject* _class, bool incref); + void _setCallbackInfo(PyObject* self, PyObject* _class, int incref=0); bool EnumerateFacenames( wxFontEncoding encoding = wxFONTENCODING_SYSTEM, // all