From 929cf4f6f089cc4db4eea16898402120fc812e30 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 8 Jul 2012 18:45:11 +0000 Subject: default buttons from Clist Nicer+ & Modern git-svn-id: http://svn.miranda-ng.org/main/trunk@859 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/modern_tbbutton.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/Clist_modern/modern_tbbutton.cpp') diff --git a/plugins/Clist_modern/modern_tbbutton.cpp b/plugins/Clist_modern/modern_tbbutton.cpp index c273719cc8..fc17b0921f 100644 --- a/plugins/Clist_modern/modern_tbbutton.cpp +++ b/plugins/Clist_modern/modern_tbbutton.cpp @@ -15,6 +15,7 @@ #define b2str(a) ((a) ? "True" : "False") void CustomizeToolbar(HWND); +int Modern_InitButtons(WPARAM, LPARAM); struct TBBUTTONDATA : public MButtonCtrl { @@ -530,6 +531,7 @@ static void CustomizeButton(HANDLE ttbid, HWND hWnd, LPARAM lParam) int Buttons_ModuleLoaded(WPARAM wParam, LPARAM lParam) { + HookEvent(ME_TTB_INITBUTTONS, Modern_InitButtons); TopToolbar_SetCustomProc(CustomizeButton, 0); return 0; } -- cgit v1.2.3