Remove superfluous mouse capturing in wxGrid row/column labels windows.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 4 Sep 2013 00:14:13 +0000 (00:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 4 Sep 2013 00:14:13 +0000 (00:14 +0000)
commitc7ea5a0c7edbdb777640e2613bfaac5f649b3340
tree8579a66a83f2402162a62a93f822ab07c686a3e5
parent8965331963a7fbe038caeadab27da643f8391a42
Remove superfluous mouse capturing in wxGrid row/column labels windows.

This code recaptured the mouse in the window which had already had it, thus
triggering the (recently added, see r74677) asserts in CaptureMouse(). It also
didn't preserve the invariant of m_winCapture always having the capture. And
it was apparently completely unnecessary too.

So simply remove it to fix the asserts while drag-resizing wxGrid rows/columns.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/grid.cpp