]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/propgrid.cpp
Allow disabled properties to be expanded/collapsed via keyboard events (they could...
[wxWidgets.git] / src / propgrid / propgrid.cpp
index a9557f3461164162159781974923951dff4d62f2..d323c6862d469062855332b9dfaeea61454b177b 100644 (file)
@@ -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 )
             {