Allow disabled properties to be expanded/collapsed via keyboard events (they could...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Fri, 13 Mar 2009 15:42:28 +0000 (15:42 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Fri, 13 Mar 2009 15:42:28 +0000 (15:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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 )
             {