From: Robin Dunn Date: Sun, 5 Nov 2006 22:47:00 +0000 (+0000) Subject: Disown the preview object when calling wxPyPreviewFrame ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ad3a156e18c0d5adae80b79cf382bca28546b4d9 Disown the preview object when calling wxPyPreviewFrame ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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,