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:
@@ -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
|
||||
|
Reference in New Issue
Block a user