Added missing RemoveProp calls.
This commit is contained in:
parent
605e7a18f0
commit
7d789599d5
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue