]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/manager.cpp
Clear grid selection more consistently prior clear operations; improved Clear() tests...
[wxWidgets.git] / src / propgrid / manager.cpp
index f4052c044f1d7042253e3e174a507c3ad6e4d7b3..096228ac5481a64c1e9fe29d7062bcc79040f45c 100644 (file)
@@ -657,6 +657,8 @@ wxPropertyGridPageState* wxPropertyGridManager::GetPageState( int page ) const
 
 void wxPropertyGridManager::Clear()
 {
+    m_pPropGrid->ClearSelection(false);
+
     m_pPropGrid->Freeze();
 
     int i;