diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-30 21:02:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-30 21:02:15 +0000 |
commit | f2e1643ee2763008bda8992b31ac3e4410ed28d1 (patch) | |
tree | f0b91ea02c618ad4048ead0eae528f1f38f4d513 /plugins/Scriver/src/chat | |
parent | 37028d5330f51ca51fbbe75730125dbbb3b09e68 (diff) |
Scriver: fix for unsubclassing problems
git-svn-id: http://svn.miranda-ng.org/main/trunk@8798 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/chat')
-rw-r--r-- | plugins/Scriver/src/chat/window.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp index 764e658d81..31bf4117c3 100644 --- a/plugins/Scriver/src/chat/window.cpp +++ b/plugins/Scriver/src/chat/window.cpp @@ -539,7 +539,7 @@ static LRESULT CALLBACK MessageSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, }
break;
- case EM_UNSUBCLASSED:
+ case WM_DESTROY:
mir_free(dat->szSearchQuery);
mir_free(dat->szSearchResult);
mir_free(dat);
@@ -2013,7 +2013,6 @@ LABEL_SHOWWINDOW: NotifyLocalWinEvent(si->hContact, hwndDlg, MSG_WINDOW_EVT_CLOSING);
si->hWnd = NULL;
SetWindowLongPtr(hwndDlg, GWLP_USERDATA, 0);
- SendDlgItemMessage(hwndDlg, IDC_CHAT_MESSAGE, EM_UNSUBCLASSED, 0, 0);
SendMessage(GetParent(hwndDlg), CM_REMOVECHILD, 0, (LPARAM)hwndDlg);
if (si->windowData.hwndLog != NULL) {
|