]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/propgridiface.cpp
Add demonstration of a few more wxRenderer methods.
[wxWidgets.git] / src / propgrid / propgridiface.cpp
index c0e9b5e46ea945c844ee4d0a7f34c0786475ace8..1984ce6bb40d37243fbaa139a8e25ada3d080a20 100644 (file)
@@ -216,7 +216,11 @@ wxPGProperty* wxPropertyGridInterface::GetSelection() const
 
 bool wxPropertyGridInterface::ClearSelection( bool validation )
 {
-    return DoClearSelection(validation, wxPG_SEL_DONT_SEND_EVENT);
+    bool res = DoClearSelection(validation, wxPG_SEL_DONT_SEND_EVENT);
+    wxPropertyGrid* pg = GetPropertyGrid();
+    if ( pg )
+        pg->Refresh();
+    return res;
 }
 
 // -----------------------------------------------------------------------