summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
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
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')
-rw-r--r--plugins/TabSRMM/src/chat/window.cpp4
-rw-r--r--plugins/TabSRMM/src/msgs.h3
2 files changed, 2 insertions, 5 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)
diff --git a/plugins/TabSRMM/src/msgs.h b/plugins/TabSRMM/src/msgs.h
index 27d245f8d2..f9e60b9fac 100644
--- a/plugins/TabSRMM/src/msgs.h
+++ b/plugins/TabSRMM/src/msgs.h
@@ -500,8 +500,7 @@ struct TNewWindowData
#define EM_SEARCHSCROLLER (TM_USER+0x103)
#define EM_VALIDATEBOTTOM (TM_USER+0x104)
#define EM_THEMECHANGED (TM_USER+0x105)
-#define EM_UNSUBCLASSED (TM_USER+0x106)
-#define EM_REFRESHWITHOUTCLIP (TM_USER+0x107)
+#define EM_REFRESHWITHOUTCLIP (TM_USER+0x106)
#define HM_EVENTSENT (TM_USER+10)
#define DM_REMAKELOG (TM_USER+11)