bool wxPropertyGridInterface::ClearSelection( bool validation ) { bool res = DoClearSelection(validation, wxPG_SEL_DONT_SEND_EVENT); wxPropertyGrid* pg = GetPropertyGrid(); if ( pg ) pg->Refresh(); return res; }
void wxPropertyGridInterface::ClearModifiedStatus() { unsigned int pageIndex = 0; for (;;) { wxPropertyGridPageState* page = GetPageState(pageIndex); if ( !page ) break; page->DoGetRoot()->SetFlagRecursively(wxPG_PROP_MODIFIED, false); pageIndex++; } // Update active editor control, if any GetPropertyGrid()->RefreshEditor(); }