From: Robin Dunn Date: Tue, 23 May 2006 02:05:01 +0000 (+0000) Subject: Add some dtor wrappers for the print dialogs that are not really X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7847dc507a73e0bf97c67ff7710b1696010d21cb?ds=inline Add some dtor wrappers for the print dialogs that are not really dialogs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_printfw.i b/wxPython/src/_printfw.i index cebbc4c996..43c734854a 100644 --- a/wxPython/src/_printfw.i +++ b/wxPython/src/_printfw.i @@ -223,10 +223,13 @@ class wxPageSetupDialog : public wxObject { public: wxPageSetupDialog(wxWindow* parent, wxPageSetupDialogData* data = NULL); - + ~wxPageSetupDialog(); + wxPageSetupDialogData& GetPageSetupData(); wxPageSetupDialogData& GetPageSetupDialogData(); int ShowModal(); + + %pythoncode { def Destroy(self): pass } }; //--------------------------------------------------------------------------- @@ -299,6 +302,8 @@ public: wxPrintDialog(wxWindow* parent, wxPrintDialogData* data = NULL); // TODO?: wxPrintDialog(wxWindow *parent, wxPrintData* data); + + ~wxPrintDialog(); virtual int ShowModal(); @@ -308,6 +313,7 @@ public: %newobject GetPrintDC; virtual wxDC *GetPrintDC(); + %pythoncode { def Destroy(self): pass } };