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:
@@ -892,6 +892,7 @@ MustHaveApp(wxPyPreviewFrame);
|
|||||||
class wxPyPreviewFrame : public wxPreviewFrame
|
class wxPyPreviewFrame : public wxPreviewFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
%disownarg(wxPrintPreview*);
|
||||||
%pythonAppend wxPyPreviewFrame "self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self)"
|
%pythonAppend wxPyPreviewFrame "self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self)"
|
||||||
|
|
||||||
wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
|
wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
|
||||||
|
Reference in New Issue
Block a user