X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f910f4d5cb822dddfda3d5be2f749d36ece5911f..d72177fd4db4389689051dffc7c74a84e58dc4a4:/interface/wx/dcps.h diff --git a/interface/wx/dcps.h b/interface/wx/dcps.h index 2aeaa41eee..b533506563 100644 --- a/interface/wx/dcps.h +++ b/interface/wx/dcps.h @@ -3,7 +3,7 @@ // Purpose: interface of wxPostScriptDC // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -24,34 +24,17 @@ public: */ wxPostScriptDC(const wxPrintData& printData); - /** - Constructor. @a output is an optional file for printing to, and if - @a interactive is @true a dialog box will be displayed for adjusting - various parameters. @a parent is the parent of the printer dialog box. - - Use the wxDC::Ok() member to test whether the constructor was - successful in creating a usable device context. - - See wxPrintData for various functions to set and get PostScript - printing settings. - - @deprecated This constructor is deprecated. - */ - wxPostScriptDC(const wxString& output, - bool interactive, - wxWindow* parent); - /** Return resolution used in PostScript output. @see SetResolution() */ - static int GetResolution(); + virtual int GetResolution() const; /** Set resolution (in pixels per inch) that will be used in PostScript output. Default is 720ppi. */ - static void SetResolution(int ppi); + virtual wxRect GetPaperRect() const; };