From 028cfb1ba4f110b6a75cef152050b53b34b8125d Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sat, 13 Oct 2018 11:51:01 +0200 Subject: [PATCH] Refresh wxPropertGrid after resetting the status This is to visualize the effect of the modification. --- samples/propgrid/propgrid.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index 591a7977c6..6f35b6147a 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -2658,6 +2658,7 @@ void FormMain::OnTestReplaceClick( wxCommandEvent& WXUNUSED(event) ) void FormMain::OnClearModifyStatusClick( wxCommandEvent& WXUNUSED(event) ) { m_pPropGridManager->ClearModifiedStatus(); + m_pPropGridManager->Refresh(); } // -----------------------------------------------------------------------