Rename a class to restore backward compatibility
This solves backward incompatibility problem introduced in 2d8bbbe3c9.
The name of base class for grid header renderers hierarchy is restored
to be wxGridHeaderLabelsRenderer. This introduces another problem: now
wxGridCornerHeaderRenderer is derived from wxGridHeaderLabelsRenderer,
not vice versa, as it was before. But it is considered less disruptive
change, compared to base class rename.
This commit is contained in:
@@ -216,10 +216,10 @@ wxGridCellWorker::~wxGridCellWorker()
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxGridHeaderCellRenderer and related classes
|
||||
// wxGridHeaderLabelsRenderer and related classes
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxGridHeaderCellRenderer::DrawLabel(const wxGrid& grid,
|
||||
void wxGridHeaderLabelsRenderer::DrawLabel(const wxGrid& grid,
|
||||
wxDC& dc,
|
||||
const wxString& value,
|
||||
const wxRect& rect,
|
||||
|
||||
Reference in New Issue
Block a user