summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-30 10:53:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-30 10:53:08 +0000
commit14f574fcf1bdc6059fb2ee3994578decc03e40a3 (patch)
treefef44f106106604f8f87ff7cfc0033fe681e2def /plugins/TabSRMM/src/generic_msghandlers.cpp
parent7c862bb56c10a32edbf38e3843549678a71309c9 (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/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index b7d74b1abd..141a1fbbd9 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -249,7 +249,7 @@ LRESULT TSAPI DM_MsgWindowCmdHandler(HWND hwndDlg, TContainerData *m_pContainer,
break;
case IDC_FONTFACE:
- submenu = GetSubMenu(m_pContainer->hMenuContext, 7);
+ submenu = GetSubMenu(PluginConfig.g_hMenuContext, 7);
{
CHARFORMAT2 cf;
memset(&cf, 0, sizeof(CHARFORMAT2));
@@ -326,7 +326,7 @@ LRESULT TSAPI DM_MsgWindowCmdHandler(HWND hwndDlg, TContainerData *m_pContainer,
break;
case IDC_TIME:
- submenu = GetSubMenu(m_pContainer->hMenuContext, 2);
+ submenu = GetSubMenu(PluginConfig.g_hMenuContext, 2);
MsgWindowUpdateMenu(dat, submenu, MENU_LOGMENU);
GetWindowRect(GetDlgItem(hwndDlg, IDC_TIME), &rc);
@@ -336,7 +336,7 @@ LRESULT TSAPI DM_MsgWindowCmdHandler(HWND hwndDlg, TContainerData *m_pContainer,
case IDC_PROTOMENU:
if (dat->hContact) {
- submenu = GetSubMenu(m_pContainer->hMenuContext, 4);
+ submenu = GetSubMenu(PluginConfig.g_hMenuContext, 4);
int iOldGlobalSendFormat = PluginConfig.m_SendFormat;
int iLocalFormat = M.GetDword(dat->hContact, "sendformat", 0);
int iNewLocalFormat = iLocalFormat;
@@ -412,7 +412,7 @@ LRESULT TSAPI DM_MsgWindowCmdHandler(HWND hwndDlg, TContainerData *m_pContainer,
break;
case IDC_INFOPANELMENU:
- submenu = GetSubMenu(m_pContainer->hMenuContext, 9);
+ submenu = GetSubMenu(PluginConfig.g_hMenuContext, 9);
GetWindowRect(GetDlgItem(hwndDlg, IDC_NAME), &rc);
EnableMenuItem(submenu, ID_FAVORITES_ADDCONTACTTOFAVORITES, !dat->cache->isFavorite() ? MF_ENABLED : MF_GRAYED);
@@ -434,7 +434,7 @@ LRESULT TSAPI DM_MsgWindowCmdHandler(HWND hwndDlg, TContainerData *m_pContainer,
break;
case IDC_SENDMENU:
- submenu = GetSubMenu(m_pContainer->hMenuContext, 3);
+ submenu = GetSubMenu(PluginConfig.g_hMenuContext, 3);
GetWindowRect(GetDlgItem(hwndDlg, IDOK), &rc);
CheckMenuItem(submenu, ID_SENDMENU_SENDTOMULTIPLEUSERS, MF_BYCOMMAND | (dat->sendMode & SMODE_MULTIPLE ? MF_CHECKED : MF_UNCHECKED));