diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-12 13:56:54 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-12 13:56:54 +0000 |
commit | e0b1fbf35cc17f73de8049cb72494c95669a9195 (patch) | |
tree | 994c4eae8122058f0f10bce4a4bffc98a24e8259 /plugins/RecentContacts | |
parent | b17df7fca9fc9eb65037e2586dea15155ace1273 (diff) |
minor toptoolbar fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RecentContacts')
-rw-r--r-- | plugins/RecentContacts/RecentContacts.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/RecentContacts/RecentContacts.cpp b/plugins/RecentContacts/RecentContacts.cpp index 3cb20ec310..b15f068e3e 100644 --- a/plugins/RecentContacts/RecentContacts.cpp +++ b/plugins/RecentContacts/RecentContacts.cpp @@ -454,12 +454,12 @@ static int OnContactSettingChanged( WPARAM wParam, LPARAM lParam ) int Create_TopToolbarShowList(WPARAM wParam, LPARAM lParam)
{
- TTBButton ttbb = { 0 };
+ TTBButton ttbb = {0};
ttbb.cbSize = sizeof(ttbb);
- ttbb.hIconHandleDn = hIcon;
+ ttbb.hIconHandleUp = hIcon;
ttbb.pszService = msLastUC_ShowList;
ttbb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
- ttbb.name = msLastUC_ShowListName;
+ ttbb.name = ttbb.pszTooltipUp = LPGEN(msLastUC_ShowListName);
hTopToolbarButtonShowList = TopToolbar_AddButton(&ttbb);
return 0;
}
|