X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c2dd16f5546ddfe754c671e0e7cc4e5bc561b4a..f6342fb5e6524edffa219d5843536ea279bba4df:/wxPython/src/_font.i?ds=inline 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