git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62371
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
SendEvent( wxEVT_PG_ITEM_COLLAPSED, p );
RecalculateVirtualSize();
SendEvent( wxEVT_PG_ITEM_COLLAPSED, p );
RecalculateVirtualSize();
-
- // Redraw etc. only if collapsed was visible.
- if (pwc->IsVisible() &&
- !m_frozen &&
- ( !pwc->IsCategory() || !(m_windowStyle & wxPG_HIDE_CATEGORIES) ) )
- {
- // When item is collapsed so that scrollbar would move,
- // graphics mess is about (unless we redraw everything).
- Refresh();
- }
}
// Clear dont-center-splitter flag if it wasn't set
}
// Clear dont-center-splitter flag if it wasn't set
SendEvent( wxEVT_PG_ITEM_EXPANDED, p );
RecalculateVirtualSize();
SendEvent( wxEVT_PG_ITEM_EXPANDED, p );
RecalculateVirtualSize();
-
- // Redraw etc. only if expanded was visible.
- if ( pwc->IsVisible() && !m_frozen &&
- ( !pwc->IsCategory() || !(m_windowStyle & wxPG_HIDE_CATEGORIES) )
- )
- {
- // Redraw
- #if wxPG_REFRESH_CONTROLS_AFTER_REPAINT
- Refresh();
- #else
- DrawItems(pwc, NULL);
- #endif
- }
}
// Clear dont-center-splitter flag if it wasn't set
}
// Clear dont-center-splitter flag if it wasn't set