From e6f918647e6b446cb15e022847985abf6de3efd0 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Wed, 14 Oct 2009 17:30:47 +0000 Subject: [PATCH] Fixed bug: wxPropertyGrid::Thaw() should no longer move the scroll bar when reselecting property that was selected prior to Freeze() call. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/propgrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index aa7864d43a..7ae8c3013e 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -662,7 +662,7 @@ void wxPropertyGrid::Thaw() // Force property re-selection // NB: We must copy the selection. wxArrayPGProperty selection = m_pState->m_selection; - DoSetSelection(selection, wxPG_SEL_FORCE); + DoSetSelection(selection, wxPG_SEL_FORCE | wxPG_SEL_NONVISIBLE); } } -- 2.45.2