From 105bd96319b509afa5fc942a7baf1770fe2b79d9 Mon Sep 17 00:00:00 2001 From: pb101 Date: Mon, 28 Mar 2016 21:29:09 +0200 Subject: [PATCH] Add missing "const" to wxGridCellEditor::PaintBackground() documentation Closes #17589. --- interface/wx/grid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/grid.h b/interface/wx/grid.h index 677af21bf0..5ebbcba37c 100644 --- a/interface/wx/grid.h +++ b/interface/wx/grid.h @@ -461,7 +461,7 @@ 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(wxDC& dc, const wxRect& rectCell, wxGridCellAttr& attr); + virtual void PaintBackground(wxDC& dc, const wxRect& rectCell, const wxGridCellAttr& attr); /** Reset the value in the control back to its starting value.