[PATCH 4/4] comctl32/rebar: Implemented dragging between rows

Joris Huizer joris_huizer at yahoo.com
Tue Jan 11 06:20:32 CST 2011


Hello,

In this patch, in function REBAR_HandleUDDrag:

+    if(yOff < 0)
+    {
+        /* Place the band above the current top row */
+        DPA_DeletePtr(infoPtr->bands, iHitBand);
+        hitBand->fStyle &= RBBS_BREAK;
+        REBAR_GetBand(infoPtr, 0)->fStyle |= RBBS_BREAK;
+        infoPtr->iGrabbedBand = DPA_InsertPtr(
+            infoPtr->bands, 0, hitBand);
+    }

It looks like that should have been:
        hitBand->fStyle &= ~RBBS_BREAK;

HTH,
Joris


      




More information about the wine-devel mailing list