]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcprint.h
Never refresh controls from EVT_PAINT handler in wxPropertyGrid.
[wxWidgets.git] / include / wx / dcprint.h
index 65e725482fc0601478e91102862ebd217fa13ef2..95dbff8f7adc348a29cf7c2f9cabf40fcc1bab2d 100644 (file)
@@ -28,8 +28,8 @@ public:
     wxPrinterDC();
     wxPrinterDC(const wxPrintData& data);
 
     wxPrinterDC();
     wxPrinterDC(const wxPrintData& data);
 
-    wxRect GetPaperRect();
-    int GetResolution();
+    wxRect GetPaperRect() const;
+    int GetResolution() const;
 
 protected:
     wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
 
 protected:
     wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }