]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/propgrid.cpp
Allow wxPGProperty::IsChildSelected() to work recursively
[wxWidgets.git] / src / propgrid / propgrid.cpp
index 71a918aef1740d0ddac18ff50a7c9f967a3bc4d3..5af8805a19e74fb1fd874ec80a12c311c25f15da 100644 (file)
@@ -2600,7 +2600,7 @@ void wxPropertyGrid::DrawItems( const wxPGProperty* p1, const wxPGProperty* p2 )
 
 void wxPropertyGrid::RefreshProperty( wxPGProperty* p )
 {
-    if ( m_pState->DoIsPropertySelected(p) || p->IsChildSelected() )
+    if ( m_pState->DoIsPropertySelected(p) || p->IsChildSelected(true) )
     {
         // NB: We must copy the selection.
         wxArrayPGProperty selection = m_pState->m_selection;