git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63066
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return false;
// If active, Set active Editor.
return false;
// If active, Set active Editor.
- if ( grid->GetState() == state && p == grid->GetSelection() )
+ if ( grid && grid->GetState() == state && p == grid->GetSelection() )
grid->DoSelectProperty( p, wxPG_SEL_FORCE );
}
else
grid->DoSelectProperty( p, wxPG_SEL_FORCE );
}
else
return false;
// If active, Disable as active Editor.
return false;
// If active, Disable as active Editor.
- if ( grid->GetState() == state && p == grid->GetSelection() )
+ if ( grid && grid->GetState() == state && p == grid->GetSelection() )
grid->DoSelectProperty( p, wxPG_SEL_FORCE );
}
grid->DoSelectProperty( p, wxPG_SEL_FORCE );
}