Mikołaj Zalewski : comctl32: header: Send the width in HDN_BEGINTRACK.

Alexandre Julliard julliard at wine.codeweavers.com
Wed May 17 14:48:32 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 28e3ba552e5402403d40d4468069c0b8e5fbcbb2
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=28e3ba552e5402403d40d4468069c0b8e5fbcbb2

Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date:   Wed May 17 01:13:45 2006 +0200

comctl32: header: Send the width in HDN_BEGINTRACK.

---

 dlls/comctl32/header.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/header.c b/dlls/comctl32/header.c
index 4dec2d7..19d3889 100644
--- a/dlls/comctl32/header.c
+++ b/dlls/comctl32/header.c
@@ -1465,7 +1465,7 @@ HEADER_LButtonDown (HWND hwnd, WPARAM wP
 	TRACE("Pressed item %d!\n", nItem);
     }
     else if ((flags == HHT_ONDIVIDER) || (flags == HHT_ONDIVOPEN)) {
-        if (!(HEADER_SendHeaderNotifyT (hwnd, HDN_BEGINTRACKW, nItem, 0, NULL))) {
+        if (!(HEADER_SendHeaderNotifyT (hwnd, HDN_BEGINTRACKW, nItem, HDI_WIDTH, NULL))) {
 	    SetCapture (hwnd);
 	    infoPtr->bCaptured = TRUE;
 	    infoPtr->bTracking = TRUE;




More information about the wine-cvs mailing list