From 2aabf6594cb0fb4f8db16771c988bf5a6eab2c4b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 May 2015 21:55:21 +0000 Subject: Unicode windows procedure, suddenly... git-svn-id: http://svn.miranda-ng.org/main/trunk@13456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/buttonsbar.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'plugins/TabSRMM/src') 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); } - -- cgit v1.2.3