]> git.saurik.com Git - wxWidgets.git/commitdiff
Do not allow multiple selection when dragging in the 'value' column
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 6 Sep 2009 08:35:05 +0000 (08:35 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 6 Sep 2009 08:35:05 +0000 (08:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/propgrid.cpp

index e3e2d584fe61285a21c071238d29e286b6bab7e9..34aa7d8b2093ed5246db886e4d23e67768818145 100644 (file)
@@ -4802,6 +4802,7 @@ bool wxPropertyGrid::HandleMouseMove( int x, unsigned int y, wxMouseEvent &event
              event.LeftIsDown() &&
              m_propHover &&
              GetSelection() &&
              event.LeftIsDown() &&
              m_propHover &&
              GetSelection() &&
+             columnHit != 1 &&
              !state->DoIsPropertySelected(m_propHover) )
         {
             // Additional requirement is that the hovered property
              !state->DoIsPropertySelected(m_propHover) )
         {
             // Additional requirement is that the hovered property