bool wxPropertyGridInterface::ClearSelection( bool validation )
{
- int flags = 0;
+ int flags = wxPG_SEL_DONT_SEND_EVENT;
if ( !validation )
flags |= wxPG_SEL_NOVALIDATE;
if ( GetSelection() && GetSelection() != state->DoGetRoot() &&
!doExpand )
{
- pg->ClearSelection(false);
+ pg->DoClearSelection();
}
wxPGVIterator it;
{
wxPropertyGrid* pg = GetPropertyGrid();
- pg->ClearSelection(false);
+ pg->DoClearSelection();
unsigned int pageIndex = 0;
if ( pgSelectionSet )
{
if ( newSelection )
- pg->SelectProperty(newSelection);
+ pg->DoSelectProperty(newSelection);
else
- pg->ClearSelection();
+ pg->DoClearSelection();
}
if ( selectedPage != -1 )