X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b9f434ef364731ccf6e4ebf78b8cf71d3c85b79..56a52e909411904736e41258c39f306d218d84d5:/wxPython/src/_printfw.i 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(); };