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
This commit is contained in:
Robin Dunn
2006-11-05 22:47:00 +00:00
parent 254e112c27
commit ad3a156e18

View 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,