]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed bug: wxPropertyGrid::Thaw() should no longer move the scroll bar when reselecti...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Wed, 14 Oct 2009 17:30:47 +0000 (17:30 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Wed, 14 Oct 2009 17:30:47 +0000 (17:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/propgrid.cpp

index aa7864d43a076c5bf7f509faf3ea6d7ae20ff46c..7ae8c3013e9e9c6f25652ac219e8e6e90609d6fb 100644 (file)
@@ -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);
     }
 }