Take the AUI floating title bar height into account when dragging it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 May 2011 14:17:55 +0000 (14:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 May 2011 14:17:55 +0000 (14:17 +0000)
commitcb542c404634ec090f28c32be968ad6cc056abee
tree00da4e2fe554737a371362c185da4308f61766a2
parent2bd82d72f594f824954f773d39c39942a7153a89
Take the AUI floating title bar height into account when dragging it.

The cursor wasn't positioned correctly when a floating toolbar was dragged by
pressing the mouse over its gripper because its position didn't take into
account the difference between the client and window coordinates of the
floating window (which is basically the height of the window title bar).

Notice that the same problem still remains when starting to drag a docked
toolbar as it doesn't have the title bar initially but does have it later
so the same fix should probably be applied when we reparent the toolbar.

Closes #9984.

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