Added missing RemoveProp calls.

This commit is contained in:
Jerry Jenkins 2002-10-17 01:18:52 +00:00 committed by Alexandre Julliard
parent 605e7a18f0
commit 7d789599d5
1 changed files with 2 additions and 0 deletions

View File

@ -1168,6 +1168,7 @@ BOOL WINAPI RemoveWindowSubclass(HWND hWnd, SUBCLASSPROC pfnSubclass, UINT_PTR u
else else
SetWindowLongA (hWnd, GWL_WNDPROC, (LONG)stack->origproc); SetWindowLongA (hWnd, GWL_WNDPROC, (LONG)stack->origproc);
HeapFree (GetProcessHeap (), 0, stack); HeapFree (GetProcessHeap (), 0, stack);
RemovePropA( hWnd, COMCTL32_aSubclass );
return TRUE; return TRUE;
} }
@ -1254,6 +1255,7 @@ LRESULT WINAPI DefSubclassProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
else else
SetWindowLongA (hWnd, GWL_WNDPROC, (LONG)stack->origproc); SetWindowLongA (hWnd, GWL_WNDPROC, (LONG)stack->origproc);
HeapFree (GetProcessHeap (), 0, stack); HeapFree (GetProcessHeap (), 0, stack);
RemovePropA( hWnd, COMCTL32_aSubclass );
return TRUE; return TRUE;
} }