Allow disabled properties to be expanded/collapsed via keyboard events (they could anyway be expanded/collapsed via the expander button)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4821,9 +4821,7 @@ void wxPropertyGrid::HandleKeyEvent( wxKeyEvent &event, bool fromChild )
|
||||
// Travel and expand/collapse
|
||||
int selectDir = -2;
|
||||
|
||||
if ( p->GetChildCount() &&
|
||||
!(p->m_flags & wxPG_PROP_DISABLED)
|
||||
)
|
||||
if ( p->GetChildCount() )
|
||||
{
|
||||
if ( action == wxPG_ACTION_COLLAPSE_PROPERTY || secondAction == wxPG_ACTION_COLLAPSE_PROPERTY )
|
||||
{
|
||||
|
Reference in New Issue
Block a user