summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-09 13:44:34 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-09 13:44:34 +0000
commitf6233a8261525da7c1a7ee52afd46d1980275a40 (patch)
tree20e13ac2e662ed3731e7f9435f80f872bfba89d0 /plugins/TabSRMM
parente527fd4754135c18c51d2cbdb42a7a4c31afd94a (diff)
hook fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6031 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/controls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/controls.cpp b/plugins/TabSRMM/src/controls.cpp
index 6cd346f2dc..2b20e61e14 100644
--- a/plugins/TabSRMM/src/controls.cpp
+++ b/plugins/TabSRMM/src/controls.cpp
@@ -117,7 +117,7 @@ void CMenuBar::obtainHook()
{
releaseHook();
if (m_hHook == 0)
- m_hHook = ::SetWindowsHookEx(WH_MSGFILTER, CMenuBar::MessageHook, g_hInst, 0);
+ m_hHook = ::SetWindowsHookEx(WH_MSGFILTER, CMenuBar::MessageHook, 0, GetCurrentThreadId());
m_Owner = this;
}