diff --git a/wxPython/src/_printfw.i b/wxPython/src/_printfw.i index cce346ca10..d4df75d67e 100644 --- a/wxPython/src/_printfw.i +++ b/wxPython/src/_printfw.i @@ -892,6 +892,7 @@ MustHaveApp(wxPyPreviewFrame); class wxPyPreviewFrame : public wxPreviewFrame { public: + %disownarg(wxPrintPreview*); %pythonAppend wxPyPreviewFrame "self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self)" wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,