From 14f574fcf1bdc6059fb2ee3994578decc03e40a3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 30 May 2016 10:53:08 +0000 Subject: - fixes #1061 (Not all TabSRMM buttons working after language change) - version bump before release git-svn-id: http://svn.miranda-ng.org/main/trunk@16889 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/container.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins/TabSRMM/src/container.cpp') diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 50ffb10f52..0fe93c40d7 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -534,9 +534,6 @@ static INT_PTR CALLBACK DlgProcContainer(HWND hwndDlg, UINT msg, WPARAM wParam, SendMessage(hwndDlg, DM_CONFIGURECONTAINER, 0, 10); - // context menu - pContainer->hMenuContext = PluginConfig.g_hMenuContext; - // tab tooltips... if (!fHaveTipper || M.GetByte("d_tooltips", 0) == 0) { pContainer->hwndTip = CreateWindowEx(0, TOOLTIPS_CLASS, NULL, WS_POPUP | TTS_NOPREFIX | TTS_ALWAYSTIP, CW_USEDEFAULT, CW_USEDEFAULT, @@ -779,7 +776,7 @@ panel_found: memset(&tci, 0, sizeof(tci)); GetCursorPos(&pt); - HMENU subMenu = GetSubMenu(pContainer->hMenuContext, 0); + HMENU subMenu = GetSubMenu(PluginConfig.g_hMenuContext, 0); dat = 0; if (((LPNMHDR)lParam)->idFrom == IDC_MSGTABS) { @@ -1598,7 +1595,6 @@ panel_found: case WM_DESTROY: pContainer->hwnd = 0; pContainer->hwndActive = 0; - pContainer->hMenuContext = 0; if (pContainer->hwndStatus) DestroyWindow(pContainer->hwndStatus); -- cgit v1.2.3