summaryrefslogtreecommitdiff
path: root/plugins/BossKeyPlus/BossKey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BossKeyPlus/BossKey.cpp')
-rw-r--r--plugins/BossKeyPlus/BossKey.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/BossKeyPlus/BossKey.cpp b/plugins/BossKeyPlus/BossKey.cpp
index 8cf8e3cfdc..9a89bb372d 100644
--- a/plugins/BossKeyPlus/BossKey.cpp
+++ b/plugins/BossKeyPlus/BossKey.cpp
@@ -758,9 +758,7 @@ int MirandaLoaded(WPARAM wParam,LPARAM lParam)
RegisterCoreHotKeys();
-#ifndef _UNICODE
- if (IsWinVer2000Plus())
-#endif
+
g_hWinHook = SetWinEventHook(EVENT_OBJECT_CREATE, EVENT_OBJECT_SHOW,
NULL, WinEventProc, GetCurrentProcessId(), 0, 0);