]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/grid.h
activating DrawRectangle optimization
[wxWidgets.git] / include / wx / generic / grid.h
index 6ddc69b43a40dea67e56e1331fef45e2810907a9..4fe4b1686b09b1a6d3158c951580dfa2fcbab15a 100644 (file)
@@ -213,7 +213,9 @@ public:
 
     // Draws the part of the cell not occupied by the control: the base class
     // version just fills it with background colour from the attribute
-    virtual void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr);
+    virtual void PaintBackground(wxDC& dc,
+                                 const wxRect& rectCell,
+                                 const wxGridCellAttr& attr);
 
 
     // The methods called by wxGrid when a cell is edited: first BeginEdit() is