diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-20 22:16:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-20 22:16:03 +0300 |
commit | 669b8ef306cb953e131065dc2fe512d03186cfba (patch) | |
tree | 62a67363d3d9b74fc7d130faf1d43364c1f087d6 /plugins/TabSRMM/src/msgdialog.cpp | |
parent | 3885b24833bd32b282ac11749422ea241d551c0d (diff) |
tabSRMM: obsolete locale support code removed, because it doesn't work at all
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 8711846b61..e30515353e 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -290,13 +290,6 @@ void CSrmmWindow::MsgWindowUpdateState(UINT msg) if (m_dwFlags & MWF_NEEDCHECKSIZE)
PostMessage(m_hwnd, DM_SAVESIZE, 0, 0);
- if (PluginConfig.m_bAutoLocaleSupport) {
- if (m_hkl == nullptr)
- DM_LoadLocale();
- else
- SendMessage(m_hwnd, DM_SETLOCALE, 0, 0);
- }
-
m_pContainer->hIconTaskbarOverlay = nullptr;
m_pContainer->UpdateTitle(m_hContact);
@@ -2119,14 +2112,6 @@ LRESULT CSrmmWindow::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) }
break;
- case WM_INPUTLANGCHANGE:
- if (PluginConfig.m_bAutoLocaleSupport && GetFocus() == m_message.GetHwnd() && IsActive()) {
- DM_SaveLocale(wParam, lParam);
- m_message.SendMsg(EM_SETLANGOPTIONS, 0, (LPARAM)m_message.SendMsg(EM_GETLANGOPTIONS, 0, 0) & ~IMF_AUTOKEYBOARD);
- return 1;
- }
- break;
-
case WM_ERASEBKGND:
return(CSkin::m_skinEnabled ? 0 : 1);
@@ -2686,12 +2671,7 @@ INT_PTR CSrmmWindow::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) m_dwFlags &= ~MWF_WASBACKGROUNDCREATE;
Resize();
PostMessage(m_hwnd, DM_UPDATEPICLAYOUT, 0, 0);
- if (PluginConfig.m_bAutoLocaleSupport) {
- if (m_hkl == nullptr)
- DM_LoadLocale();
- else
- PostMessage(m_hwnd, DM_SETLOCALE, 0, 0);
- }
+
if (m_hwndIEView != nullptr)
SetFocus(m_message.GetHwnd());
if (m_pContainer->dwFlags & CNT_SIDEBAR)
|