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:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user