diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-05 21:55:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-05 21:55:21 +0000 |
commit | 2aabf6594cb0fb4f8db16771c988bf5a6eab2c4b (patch) | |
tree | 202865579328cc407dc249ca6ed3ea80f9f6f80a /plugins/TabSRMM | |
parent | 9de8f2a1584b810d0fc651704f7f732dc0943d86 (diff) |
Unicode windows procedure, suddenly...
git-svn-id: http://svn.miranda-ng.org/main/trunk@13456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/buttonsbar.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/plugins/TabSRMM/src/buttonsbar.cpp b/plugins/TabSRMM/src/buttonsbar.cpp index 7713ba0bdd..885692778c 100644 --- a/plugins/TabSRMM/src/buttonsbar.cpp +++ b/plugins/TabSRMM/src/buttonsbar.cpp @@ -696,16 +696,14 @@ INT_PTR CALLBACK DlgProcToolBar(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l case IDC_TOOLBARTREE: switch (((LPNMHDR)lParam)->code) { - case TVN_BEGINDRAGA: - case TVN_BEGINDRAGW: + case TVN_BEGINDRAG: SetCapture(hwndDlg); drag = 1; hDragItem = ((LPNMTREEVIEW)lParam)->itemNew.hItem; TreeView_SelectItem(hToolBarTree, hDragItem); break; - case TVN_SELCHANGINGA: - case TVN_SELCHANGINGW: + case TVN_SELCHANGING: hti = TreeView_GetSelection(hToolBarTree); if (hti != NULL) { TCHAR strbuf[128]; @@ -733,8 +731,7 @@ INT_PTR CALLBACK DlgProcToolBar(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l } break; - case TVN_SELCHANGEDW: - case TVN_SELCHANGEDA: + case TVN_SELCHANGED: hti = TreeView_GetSelection(hToolBarTree); if (hti != NULL) { TCHAR strbuf[128]; @@ -1447,4 +1444,3 @@ void CB_DeInitCustomButtons() DestroyServiceFunction(hButtonsBarGetButtonState); DestroyServiceFunction(hButtonsBarSetButtonState); } - |