]> git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/dcprint.h
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / include / wx / x11 / dcprint.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/x11/dcprint.h
3 // Purpose: wxPrinterDC class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DCPRINT_H_
13 #define _WX_DCPRINT_H_
14
15 #include "wx/dc.h"
16
17 class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC
18 {
19 public:
20 DECLARE_CLASS(wxPrinterDC)
21
22 // Create a printer DC
23 wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, wxPrintOrientation orientation = wxPORTRAIT);
24
25 virtual ~wxPrinterDC();
26 };
27
28 #endif
29 // _WX_DCPRINT_H_