* CMenuBand: Fix display of icons for the static toolbar.
* CMenuDeskBar: Fix positioning of the window not to cross the top edge.
CORE-7881

svn path=/branches/shell-experiments/; revision=62242
This commit is contained in:
David Quintana 2014-02-18 11:17:37 +00:00
parent 662d8363c3
commit edfdf34624
2 changed files with 9 additions and 13 deletions

View file

@ -1130,7 +1130,8 @@ HRESULT CMenuStaticToolbar::FillToolbar()
tbb.iString = (INT_PTR) MenuString;
tbb.idCommand = info.wID;
SMINFO sminfo;
SMINFO sminfo = { 0 };
sminfo.dwMask = SMIM_ICON;
if (info.wID >= 0 && SUCCEEDED(m_menuBand->CallCBWithId(info.wID, SMC_GETINFO, 0, (LPARAM) &sminfo)))
{
tbb.iBitmap = sminfo.iIcon;