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
This commit is contained in:
Jaakko Salli
2009-10-14 17:30:47 +00:00
parent 9aa2e298ae
commit e6f918647e

View File

@@ -662,7 +662,7 @@ void wxPropertyGrid::Thaw()
// Force property re-selection // Force property re-selection
// NB: We must copy the selection. // NB: We must copy the selection.
wxArrayPGProperty selection = m_pState->m_selection; wxArrayPGProperty selection = m_pState->m_selection;
DoSetSelection(selection, wxPG_SEL_FORCE); DoSetSelection(selection, wxPG_SEL_FORCE | wxPG_SEL_NONVISIBLE);
} }
} }