X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/137b5242b1834999da2883c7a68fbde28c6fba37..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/wxPython/src/printfw.i?ds=inline diff --git a/wxPython/src/printfw.i b/wxPython/src/printfw.i index 74a74ed6af..05293bade1 100644 --- a/wxPython/src/printfw.i +++ b/wxPython/src/printfw.i @@ -61,6 +61,8 @@ public: bool GetCollate(); int GetOrientation(); + bool Ok(); + const wxString& GetPrinterName(); bool GetColour(); wxDuplexMode GetDuplex(); @@ -126,9 +128,9 @@ public: class wxPostScriptDC : public wxDC { public: wxPostScriptDC(const wxPrintData& printData); - %name(wxPostScriptDC2)wxPostScriptDC(const wxString& output, - bool interactive = TRUE, - wxWindow* parent = NULL); +// %name(wxPostScriptDC2)wxPostScriptDC(const wxString& output, +// bool interactive = TRUE, +// wxWindow* parent = NULL); wxPrintData& GetPrintData(); void SetPrintData(const wxPrintData& data); @@ -167,6 +169,9 @@ public: return new wxPrintData(self->GetPrintData()); // force a copy } } + + bool Ok(); + void SetDefaultInfo(bool flag); void SetDefaultMinMargins(bool flag); void SetMarginTopLeft(const wxPoint& pt); @@ -214,6 +219,9 @@ public: } bool GetPrintToFile(); int GetToPage(); + + bool Ok(); + void SetCollate(bool flag); void SetFromPage(int page); void SetMaxPage(int page);