diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-17 21:43:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-17 21:43:29 +0000 |
commit | 09af1fc3d99c95a3f9a6f4401395c00082927243 (patch) | |
tree | d509c52e1292f09c96ae01b38f10f2ea02ebd8db /src/mir_core/subclass.cpp | |
parent | bcf4c54d33c7f735ce325dd8183afc0f1a2d0493 (diff) |
no need to send WM_DESTROY to a window being unsubclassed
git-svn-id: http://svn.miranda-ng.org/main/trunk@6117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core/subclass.cpp')
-rw-r--r-- | src/mir_core/subclass.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mir_core/subclass.cpp b/src/mir_core/subclass.cpp index fe63f715eb..c6fddcb5e8 100644 --- a/src/mir_core/subclass.cpp +++ b/src/mir_core/subclass.cpp @@ -109,10 +109,6 @@ static void removeHook(MSubclassData *p, int idx) for (int i=idx+1; i < p->m_iHooks; i++)
p->m_hooks[i-1] = p->m_hooks[i];
p->m_iHooks--;
-
- // emulate window destruction
- saveProc(p->m_hWnd, WM_DESTROY, 0, 0);
- saveProc(p->m_hWnd, WM_NCDESTROY, 0, 0);
}
MIR_CORE_DLL(void) mir_unsubclassWindow(HWND hWnd, WNDPROC wndProc)
|