projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use bool expression rather than implicit conversion
[wxWidgets.git]
/
include
/
wx
/
dcprint.h
diff --git
a/include/wx/dcprint.h
b/include/wx/dcprint.h
index 66265750f5eb0602fe001c02c68d9b8fa0a85548..95dbff8f7adc348a29cf7c2f9cabf40fcc1bab2d 100644
(file)
--- a/
include/wx/dcprint.h
+++ b/
include/wx/dcprint.h
@@
-27,10
+27,12
@@
class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
public:
wxPrinterDC();
wxPrinterDC(const wxPrintData& data);
public:
wxPrinterDC();
wxPrinterDC(const wxPrintData& data);
- virtual ~wxPrinterDC();
- wxRect GetPaperRect();
- int GetResolution();
+ wxRect GetPaperRect() const;
+ int GetResolution() const;
+
+protected:
+ wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
private:
DECLARE_DYNAMIC_CLASS(wxPrinterDC)
private:
DECLARE_DYNAMIC_CLASS(wxPrinterDC)