]> git.saurik.com Git - wxWidgets.git/commit
Use wxWindow::ReleaseMouse() instead of MSW ::ReleaseCapture() function.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 5 Mar 2010 23:55:00 +0000 (23:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 5 Mar 2010 23:55:00 +0000 (23:55 +0000)
commitdb06bfb4026c7cde587c139b67fac1dd65a0a214
tree6a37e916c091265fdc84c270edd9c5dd991844a6
parent694b7ca407682e12774640ff444ac557dc7045f5
Use wxWindow::ReleaseMouse() instead of MSW ::ReleaseCapture() function.

As we capture the mouse using wxWindow::CaptureMouse(), we must release it
with ReleaseMouse() and not just ReleaseCapture().

Closes #11791.

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