X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32bf5e4a38676c7b5997c9cc27cdf44adeb7b6b5..a356336ecf10e9d218d9d127d39c47c0cce57e2d:/wxPython/src/_printfw.i diff --git a/wxPython/src/_printfw.i b/wxPython/src/_printfw.i index 6bc971b70e..115834daf2 100644 --- a/wxPython/src/_printfw.i +++ b/wxPython/src/_printfw.i @@ -376,7 +376,8 @@ IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); MustHaveApp(wxPyPrintout); // Now define the custom class for SWIGging -%name(Printout) class wxPyPrintout : public wxObject { +%rename(Printout) wxPyPrintout; +class wxPyPrintout : public wxObject { public: %pythonAppend wxPyPrintout "self._setCallbackInfo(self, Printout)"