From 32bf5e4a38676c7b5997c9cc27cdf44adeb7b6b5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 23 Nov 2004 18:20:41 +0000 Subject: [PATCH] wxPageSetupDialog no longer derives from wxDialog git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_printfw.i | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/wxPython/src/_printfw.i b/wxPython/src/_printfw.i index 1e3c1fc7b9..6bc971b70e 100644 --- a/wxPython/src/_printfw.i +++ b/wxPython/src/_printfw.i @@ -178,15 +178,19 @@ public: +// NOTE: Contrary to it's name, this class doesn't derive from wxDialog. It +// is a facade in front of a platform-specific (native dialog) provided by the +// wxPrintFactory. + MustHaveApp(wxPageSetupDialog); -class wxPageSetupDialog : public wxDialog { +class wxPageSetupDialog : public wxObject +{ public: - %pythonAppend wxPageSetupDialog "self._setOORInfo(self)" - wxPageSetupDialog(wxWindow* parent, wxPageSetupDialogData* data = NULL); wxPageSetupDialogData& GetPageSetupData(); + wxPageSetupDialogData& GetPageSetupDialogData(); int ShowModal(); };