]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_printfw.i
Disown the preview object when calling wxPyPreviewFrame ctor
[wxWidgets.git] / wxPython / src / _printfw.i
index cce346ca10dd0907effa594180cb19c089745dad..d4df75d67ec93ebd94deb9127e42c092396b4ea7 100644 (file)
@@ -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,