]> git.saurik.com Git - wxWidgets.git/commit - src/aui/auibook.cpp
Cancel dragging in wxAuiNotebook on capture loss.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 May 2011 14:17:52 +0000 (14:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 May 2011 14:17:52 +0000 (14:17 +0000)
commit2bd82d72f594f824954f773d39c39942a7153a89
tree74754b1fbcd7ea58d25cf6ec2645b32502c26b12
parent7311debd0d87ff4ce3d537c7fceda74467215e4b
Cancel dragging in wxAuiNotebook on capture loss.

Don't leave the display and internal variables in inconsistent state when the
mouse capture is lost while a notebook page is being dragged (as can happen
if Alt-Tab is pressed under Windows, for example).

Closes #9976.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/aui/auibook.h
src/aui/auibook.cpp