diff options
author | George Hazan <george.hazan@gmail.com> | 2016-05-30 10:53:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-05-30 10:53:08 +0000 |
commit | 14f574fcf1bdc6059fb2ee3994578decc03e40a3 (patch) | |
tree | fef44f106106604f8f87ff7cfc0033fe681e2def /plugins/TabSRMM/src/container.cpp | |
parent | 7c862bb56c10a32edbf38e3843549678a71309c9 (diff) |
- 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
Diffstat (limited to 'plugins/TabSRMM/src/container.cpp')
-rw-r--r-- | plugins/TabSRMM/src/container.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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);
|