Remove unused wxGridCellChoiceEditor::PaintBackground() override
This overridden method didn't do anything except calling the base class version, so just remove it.
This commit is contained in:
parent
dddcdf62df
commit
32edcde5bd
@ -307,10 +307,6 @@ public:
|
||||
|
||||
virtual void SetSize(const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
virtual void PaintBackground(wxDC& dc,
|
||||
const wxRect& rectCell,
|
||||
const wxGridCellAttr& attr) wxOVERRIDE;
|
||||
|
||||
virtual void BeginEdit(int row, int col, wxGrid* grid) wxOVERRIDE;
|
||||
virtual bool EndEdit(int row, int col, const wxGrid* grid,
|
||||
const wxString& oldval, wxString *newval) wxOVERRIDE;
|
||||
|
@ -1459,19 +1459,6 @@ void wxGridCellChoiceEditor::SetSize(const wxRect& rect)
|
||||
wxGridCellEditor::SetSize(rectChoice.CenterIn(rect, wxVERTICAL));
|
||||
}
|
||||
|
||||
void wxGridCellChoiceEditor::PaintBackground(wxDC& dc,
|
||||
const wxRect& rectCell,
|
||||
const wxGridCellAttr& attr)
|
||||
{
|
||||
// as we fill the entire client area, don't do anything here to minimize
|
||||
// flicker
|
||||
|
||||
// TODO: It doesn't actually fill the client area since the height of a
|
||||
// combo always defaults to the standard. Until someone has time to
|
||||
// figure out the right rectangle to paint, just do it the normal way.
|
||||
wxGridCellEditor::PaintBackground(dc, rectCell, attr);
|
||||
}
|
||||
|
||||
void wxGridCellChoiceEditor::BeginEdit(int row, int col, wxGrid* grid)
|
||||
{
|
||||
wxASSERT_MSG(m_control,
|
||||
|
Loading…
Reference in New Issue
Block a user