Commit in reactos/lib/comctl32 on MAIN
rebar.c+4-41.13 -> 1.14
- Rebar cursors must be destroyed with DestroyCursor and not with DeleteObject.

reactos/lib/comctl32
rebar.c 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- rebar.c	20 Oct 2004 08:36:55 -0000	1.13
+++ rebar.c	5 Dec 2004 01:12:56 -0000	1.14
@@ -3786,10 +3786,10 @@
 	infoPtr->bands = NULL;
     }
 
-    DeleteObject (infoPtr->hcurArrow);
-    DeleteObject (infoPtr->hcurHorz);
-    DeleteObject (infoPtr->hcurVert);
-    DeleteObject (infoPtr->hcurDrag);
+    DestroyCursor (infoPtr->hcurArrow);
+    DestroyCursor (infoPtr->hcurHorz);
+    DestroyCursor (infoPtr->hcurVert);
+    DestroyCursor (infoPtr->hcurDrag);
     if(infoPtr->hDefaultFont) DeleteObject (infoPtr->hDefaultFont);
     SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
 
CVSspam 0.2.8