X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..0bf36922c8a60f19dccc3889c15b281fc94d69c5:/include/wx/motif/dcprint.h?ds=inline diff --git a/include/wx/motif/dcprint.h b/include/wx/motif/dcprint.h index 91812557e6..bd9687152f 100644 --- a/include/wx/motif/dcprint.h +++ b/include/wx/motif/dcprint.h @@ -1,34 +1,31 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dcprint.h +// Name: wx/motif/dcprint.h // Purpose: wxPrinterDC class // Author: Julian Smart // Modified by: // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "dcprint.h" -#endif - #include "wx/dc.h" class WXDLLEXPORT wxPrinterDC: public wxDC { public: DECLARE_CLASS(wxPrinterDC) - + // Create a printer DC - wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT); - - ~wxPrinterDC(); + wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = true, int orientation = wxPORTRAIT); + + wxRect GetPaperRect(); + + virtual ~wxPrinterDC(); }; #endif // _WX_DCPRINT_H_ -