projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set correct properties for the new files
[wxWidgets.git]
/
include
/
wx
/
dcprint.h
diff --git
a/include/wx/dcprint.h
b/include/wx/dcprint.h
index 2ae605b7e4e40dc7a474cda0a7a45ce79573145f..95dbff8f7adc348a29cf7c2f9cabf40fcc1bab2d 100644
(file)
--- a/
include/wx/dcprint.h
+++ b/
include/wx/dcprint.h
@@
-22,23
+22,22
@@
// wxPrinterDC
//-----------------------------------------------------------------------------
// wxPrinterDC
//-----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC
+class WXDLLIMPEXP_CORE wxPrinterDC
: public wxDC
{
public:
wxPrinterDC();
{
public:
wxPrinterDC();
- wxPrinterDC( const wxPrintData& data );
- ~wxPrinterDC();
-
- wxRect GetPaperRect();
- int GetResolution();
-
+ wxPrinterDC(const wxPrintData& data);
+
+ wxRect GetPaperRect() const;
+ int GetResolution() const;
+
+protected:
+ wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
+
private:
private:
- DECLARE_DYNAMIC_CLASS()
+ DECLARE_DYNAMIC_CLASS(
wxPrinterDC
)
};
};
+#endif // wxUSE_PRINTING_ARCHITECTURE
-#endif
- // wxUSE_PRINTING_ARCHITECTURE
-
-#endif
- // _WX_DCPRINT_H_BASE_
+#endif // _WX_DCPRINT_H_BASE_