diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-11 21:13:40 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-11 21:13:40 +0000 |
commit | 992ec90d2d1af7674a013bf2f0ac9be44e80a18e (patch) | |
tree | f0b96449a096df83c2571eb4e32073619116c366 /plugins | |
parent | 4cbdf4bd6d261e9a6a4f3b86411983ba1a89ef48 (diff) |
missing subclassing
git-svn-id: http://svn.miranda-ng.org/main/trunk@3979 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/SMS/src/senddlg.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/SMS/src/senddlg.cpp b/plugins/SMS/src/senddlg.cpp index df883c440e..e4a0361ac2 100644 --- a/plugins/SMS/src/senddlg.cpp +++ b/plugins/SMS/src/senddlg.cpp @@ -83,10 +83,9 @@ INT_PTR CALLBACK SendSmsDlgProc(HWND hWndDlg,UINT message,WPARAM wParam,LPARAM l psswdWindowData=(SEND_SMS_WINDOW_DATA*)lParam;
SetWindowLongPtr(hWndDlg, GWLP_USERDATA, (LONG_PTR)lParam);
- {
- WNDPROC OldEditWndProc = (WNDPROC)SetWindowLongPtr(GetDlgItem(hWndDlg,IDC_MESSAGE), GWLP_WNDPROC, (LONG_PTR)MessageSubclassProc);
- SetWindowLongPtr(GetDlgItem(hWndDlg,IDC_MESSAGE), GWLP_USERDATA, (LONG_PTR)OldEditWndProc);
- }
+
+ mir_subclassWindow(GetDlgItem(hWndDlg, IDC_MESSAGE), MessageSubclassProc);
+
SendMessage(hWndDlg,WM_SETICON,ICON_BIG,(LPARAM)LoadSkinnedIcon(SKINICON_OTHER_SMS));
SEND_DLG_ITEM_MESSAGE(hWndDlg,IDC_HISTORY,BM_SETIMAGE,IMAGE_ICON,(LPARAM)LoadSkinnedIcon(SKINICON_OTHER_HISTORY));
{
|