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:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user