Commit in reactos/lib/comctl32 on MAIN
commctrl.c+1-11.16 -> 1.17
Don't free subclass stack while it's still in use

reactos/lib/comctl32
commctrl.c 1.16 -> 1.17
diff -u -r1.16 -r1.17
--- commctrl.c	19 Sep 2004 09:50:06 -0000	1.16
+++ commctrl.c	18 Oct 2004 21:31:41 -0000	1.17
@@ -1293,7 +1293,7 @@
    stack->running--;
    stack->stackpos = proc;
     
-   if (!stack->SubclassProcs) {
+   if (!stack->SubclassProcs && !stack->running) {
       TRACE("Last Subclass removed, cleaning up\n");
       /* clean up our heap and reset the origional window procedure */
       if (IsWindowUnicode (hWnd))
CVSspam 0.2.8