X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e59e670c9b5021304c4beb02ec726f3a879ad63f..51623cc53f350935337e57930eaaf1afe9a48c3b:/include/wx/generic/grideditors.h?ds=sidebyside diff --git a/include/wx/generic/grideditors.h b/include/wx/generic/grideditors.h index 4a7b9270dd..aa0fd7af43 100644 --- a/include/wx/generic/grideditors.h +++ b/include/wx/generic/grideditors.h @@ -59,7 +59,9 @@ public: wxEvtHandler* evtHandler); virtual void SetSize(const wxRect& rect); - virtual void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr); + virtual void PaintBackground(wxDC& dc, + const wxRect& rectCell, + const wxGridCellAttr& attr); virtual bool IsAcceptedKey(wxKeyEvent& event); virtual void BeginEdit(int row, int col, wxGrid* grid); @@ -297,7 +299,9 @@ public: virtual void SetSize(const wxRect& rect); - virtual void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr); + virtual void PaintBackground(wxDC& dc, + const wxRect& rectCell, + const wxGridCellAttr& attr); virtual void BeginEdit(int row, int col, wxGrid* grid); virtual bool EndEdit(int row, int col, const wxGrid* grid,