]> git.saurik.com Git - wxWidgets.git/commitdiff
Disown the preview object when calling wxPyPreviewFrame ctor
authorRobin Dunn <robin@alldunn.com>
Sun, 5 Nov 2006 22:47:00 +0000 (22:47 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 5 Nov 2006 22:47:00 +0000 (22:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_printfw.i

index cce346ca10dd0907effa594180cb19c089745dad..d4df75d67ec93ebd94deb9127e42c092396b4ea7 100644 (file)
@@ -892,6 +892,7 @@ MustHaveApp(wxPyPreviewFrame);
 class wxPyPreviewFrame : public wxPreviewFrame
 {
 public:
 class wxPyPreviewFrame : public wxPreviewFrame
 {
 public:
+    %disownarg(wxPrintPreview*);
     %pythonAppend wxPyPreviewFrame "self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self)"
 
     wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
     %pythonAppend wxPyPreviewFrame "self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self)"
 
     wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,