From e0b1fbf35cc17f73de8049cb72494c95669a9195 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 12 Jul 2012 13:56:54 +0000 Subject: minor toptoolbar fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WhenWasIt/hooked_events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/WhenWasIt/hooked_events.cpp') diff --git a/plugins/WhenWasIt/hooked_events.cpp b/plugins/WhenWasIt/hooked_events.cpp index e80c3e3258..2f970fca2b 100644 --- a/plugins/WhenWasIt/hooked_events.cpp +++ b/plugins/WhenWasIt/hooked_events.cpp @@ -178,8 +178,8 @@ int OnTopToolBarModuleLoaded(WPARAM wParam, LPARAM lParam) ttb.cbSize = sizeof(ttb); ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP; ttb.pszService = MS_WWI_CHECK_BIRTHDAYS; - ttb.hIconUp = ttb.hIconDn = hiCheckMenu; - ttb.name = "Check for birthdays"; + ttb.hIconUp = hiCheckMenu; + ttb.name = ttb.pszTooltipUp = LPGEN("Check for birthdays"); TopToolbar_AddButton(&ttb); return 0; } -- cgit v1.2.3