summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-30 21:08:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-30 21:08:39 +0000
commit8d372b0de8bb1545fb20b590d1438d0d775db24d (patch)
treeca39527c4ffdf6eeab08d930dde86650f57dc76c /plugins/TabSRMM/src/chat
parentf2e1643ee2763008bda8992b31ac3e4410ed28d1 (diff)
same shit in tabs
git-svn-id: http://svn.miranda-ng.org/main/trunk@8799 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat')
-rw-r--r--plugins/TabSRMM/src/chat/window.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp
index 4a7365cbb9..cbf7af3c67 100644
--- a/plugins/TabSRMM/src/chat/window.cpp
+++ b/plugins/TabSRMM/src/chat/window.cpp
@@ -1062,7 +1062,7 @@ static LRESULT CALLBACK MessageSubclassProc(HWND hwnd, UINT msg, WPARAM wParam,
case WM_ERASEBKGND:
return CSkin::m_skinEnabled ? 0 : 1;
- case EM_UNSUBCLASSED:
+ case WM_DESTROY:
mir_free(dat);
return 0;
}
@@ -3539,8 +3539,6 @@ LABEL_SHOWWINDOW:
si->pContainer = NULL;
dat->si = NULL;
- SendDlgItemMessage(hwndDlg, IDC_CHAT_MESSAGE, EM_UNSUBCLASSED, 0, 0);
-
TABSRMM_FireEvent(dat->hContact, hwndDlg, MSG_WINDOW_EVT_CLOSING, 0);
if (!dat->bIsAutosizingInput)