listview: release capture

Huw D M Davies h.davies1 at physics.ox.ac.uk
Wed Nov 5 05:43:29 CST 2003


        Huw Davies <huw at codeweavers.com>
        ReleaseCapture on lbuttondown if the cursor is outside an
        item, just like the native one does
-- 
Huw Davies
huw at codeweavers.com

Index: dlls/comctl32/listview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/listview.c,v
retrieving revision 1.372
diff -u -r1.372 listview.c
--- dlls/comctl32/listview.c	5 Nov 2003 00:35:57 -0000	1.372
+++ dlls/comctl32/listview.c	5 Nov 2003 11:41:16 -0000
@@ -7944,6 +7944,7 @@
   {
     /* remove all selections */
     LISTVIEW_DeselectAll(infoPtr);
+    ReleaseCapture();
   }
 
   return 0;



More information about the wine-patches mailing list