applied patch 475879 (Can't use subclassed GridCellEditor)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-11-20 18:58:47 +00:00
parent c7821f944f
commit d9f7f49ea3

View File

@@ -2020,7 +2020,7 @@ wxGridCellRenderer* wxGridCellAttr::GetRenderer(wxGrid* grid, int row, int col)
{
wxGridCellRenderer* renderer = NULL;
if ( m_defGridAttr != this || grid == NULL )
if ( m_defGridAttr == this || grid == NULL )
{
renderer = m_renderer; // use local attribute
if ( renderer )