]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbase.cpp
use guard classes automatically restoring the old state in their dtor instead of...
[wxWidgets.git] / src / common / dcbase.cpp
index 206c1662dd45854e93365d1023774efd783034ec..a60da2e6573e8329c69cb9fb4ded229916af23e1 100644 (file)
@@ -300,12 +300,12 @@ wxPrinterDC::wxPrinterDC(const wxPrintData& data)
 {
 }
 
-wxRect wxPrinterDC::GetPaperRect()
+wxRect wxPrinterDC::GetPaperRect() const
 {
     return GetImpl()->GetPaperRect();
 }
 
-int wxPrinterDC::GetResolution()
+int wxPrinterDC::GetResolution() const
 {
     return GetImpl()->GetResolution();
 }