diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-28 06:24:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-28 06:24:41 +0000 |
commit | cbea44bfa47383acb25be005deae95dee7946dfe (patch) | |
tree | a1fbe0da77bf1b3b387b291b79ae33fb58acb4e3 /plugins/BossKeyPlus/src/BossKey.cpp | |
parent | b22b6804903e1e8e0e51fd8c78d928f0204672b5 (diff) |
fix for Bosskey toptoolbar button
git-svn-id: http://svn.miranda-ng.org/main/trunk@1698 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BossKeyPlus/src/BossKey.cpp')
-rw-r--r-- | plugins/BossKeyPlus/src/BossKey.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp index 1c6955320b..8191e6bb6f 100644 --- a/plugins/BossKeyPlus/src/BossKey.cpp +++ b/plugins/BossKeyPlus/src/BossKey.cpp @@ -29,7 +29,7 @@ //WORD g_wRefCount = 0; // reference count. when this is 0 on init, the hook is created. when this is 0 on destruction, the hook is destroyed.
//#pragma data_seg() // end of shared data segment
-// unique to this DLL, not to be shared
+// unique to this DLL, not to be shared
HINSTANCE g_hInstance;
CLIST_INTERFACE *pcli;
HANDLE g_hmGenMenuInit, g_hIcon, g_hMenuItem, g_hHideService, g_hIsHiddenService;
@@ -747,8 +747,9 @@ int MirandaLoaded(WPARAM wParam,LPARAM lParam) g_hWinHook = SetWinEventHook(EVENT_OBJECT_CREATE, EVENT_OBJECT_SHOW,
NULL, WinEventProc, GetCurrentProcessId(), 0, 0);
- HookEvent(ME_OPT_INITIALISE,OptsDlgInit);
- HookEvent(ME_MSG_WINDOWEVENT,MsgWinOpening);
+ HookEvent(ME_TTB_MODULELOADED, ModernToolbarInit);
+ HookEvent(ME_OPT_INITIALISE, OptsDlgInit);
+ HookEvent(ME_MSG_WINDOWEVENT, MsgWinOpening);
HookEvent(ME_PROTO_ACCLISTCHANGED, EnumProtos);
HookEvent(ME_MSG_TOOLBARLOADED, TabsrmmButtonsInit);
HookEvent(ME_MSG_BUTTONPRESSED, TabsrmmButtonPressed);
@@ -863,7 +864,6 @@ extern "C" int __declspec(dllexport) Load(void) g_hHideService = CreateServiceFunction(MS_BOSSKEY_HIDE,BossKeyHideMiranda); // Create service
HookEvent(ME_SYSTEM_MODULESLOADED,MirandaLoaded);
- HookEvent(ME_TTB_MODULELOADED, ModernToolbarInit);
return 0;
}
|