diff options
Diffstat (limited to 'plugins/BASS_interface')
-rw-r--r-- | plugins/BASS_interface/src/Main.cpp | 4 | ||||
-rw-r--r-- | plugins/BASS_interface/src/stdafx.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp index 5bc586b9a1..b9fac56ad3 100644 --- a/plugins/BASS_interface/src/Main.cpp +++ b/plugins/BASS_interface/src/Main.cpp @@ -27,6 +27,7 @@ extern "C" PfnDliHook __pfnDliNotifyHook2 = &delayHook; HINSTANCE hInst;
int hLangpack;
+CLIST_INTERFACE *pcli;
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
@@ -461,7 +462,7 @@ void CreateFrame() RegisterClass(&wndclass);
hwnd_plugin = CreateWindow(_T("BassInterfaceFrame"), TranslateT("Bass Interface"),
- WS_CHILD | WS_CLIPCHILDREN, 0, 0, 10, 10, (HWND)CallService(MS_CLUI_GETHWND, 0, 0), NULL, hInst, NULL);
+ WS_CHILD | WS_CLIPCHILDREN, 0, 0, 10, 10, pcli->hwndContactList, NULL, hInst, NULL);
CLISTFrame Frame = { sizeof(CLISTFrame) };
Frame.tname = TranslateT("Bass Interface");
@@ -609,6 +610,7 @@ static IconItem iconList[] = extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
+ mir_getCLI();
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
HookEvent(ME_SYSTEM_SHUTDOWN, OnShutdown);
diff --git a/plugins/BASS_interface/src/stdafx.h b/plugins/BASS_interface/src/stdafx.h index 09821041cd..e69ef0f03c 100644 --- a/plugins/BASS_interface/src/stdafx.h +++ b/plugins/BASS_interface/src/stdafx.h @@ -14,6 +14,7 @@ Copyright (C) 2010, 2011 tico-tico #include <win2k.h>
#include <m_cluiframes.h>
#include <m_clui.h>
+#include <m_clistint.h>
#include <m_fontservice.h>
#include <m_button_int.h>
#include <m_icolib.h>
|