Nikolay Sivov : comctl32/header: Reset internal drag state on mouse up.
Alexandre Julliard
julliard at winehq.org
Thu Apr 30 11:01:11 CDT 2009
Module: wine
Branch: master
Commit: 4ba9e61661cdf25a13010b7be7f16e957a252ad2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ba9e61661cdf25a13010b7be7f16e957a252ad2
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Wed Apr 29 21:31:05 2009 +0400
comctl32/header: Reset internal drag state on mouse up.
---
dlls/comctl32/header.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/header.c b/dlls/comctl32/header.c
index f9eba99..7e6e0ff 100644
--- a/dlls/comctl32/header.c
+++ b/dlls/comctl32/header.c
@@ -1663,7 +1663,8 @@ HEADER_LButtonUp (HWND hwnd, LPARAM lParam)
}
else
InvalidateRect(hwnd, &infoPtr->items[infoPtr->iMoveItem].rect, FALSE);
-
+
+ infoPtr->bDragging = FALSE;
HEADER_SetHotDivider(hwnd, FALSE, -1);
}
else if (!(dwStyle&HDS_DRAGDROP) || !HEADER_IsDragDistance(infoPtr, &pt))
More information about the wine-cvs
mailing list