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
This commit is contained in:
@@ -223,10 +223,13 @@ class wxPageSetupDialog : public wxObject
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxPageSetupDialog(wxWindow* parent, wxPageSetupDialogData* data = NULL);
|
wxPageSetupDialog(wxWindow* parent, wxPageSetupDialogData* data = NULL);
|
||||||
|
~wxPageSetupDialog();
|
||||||
|
|
||||||
wxPageSetupDialogData& GetPageSetupData();
|
wxPageSetupDialogData& GetPageSetupData();
|
||||||
wxPageSetupDialogData& GetPageSetupDialogData();
|
wxPageSetupDialogData& GetPageSetupDialogData();
|
||||||
int ShowModal();
|
int ShowModal();
|
||||||
|
|
||||||
|
%pythoncode { def Destroy(self): pass }
|
||||||
};
|
};
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
@@ -300,6 +303,8 @@ public:
|
|||||||
|
|
||||||
// TODO?: wxPrintDialog(wxWindow *parent, wxPrintData* data);
|
// TODO?: wxPrintDialog(wxWindow *parent, wxPrintData* data);
|
||||||
|
|
||||||
|
~wxPrintDialog();
|
||||||
|
|
||||||
virtual int ShowModal();
|
virtual int ShowModal();
|
||||||
|
|
||||||
virtual wxPrintDialogData& GetPrintDialogData();
|
virtual wxPrintDialogData& GetPrintDialogData();
|
||||||
@@ -308,6 +313,7 @@ public:
|
|||||||
%newobject GetPrintDC;
|
%newobject GetPrintDC;
|
||||||
virtual wxDC *GetPrintDC();
|
virtual wxDC *GetPrintDC();
|
||||||
|
|
||||||
|
%pythoncode { def Destroy(self): pass }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user