mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[RSHELL]
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user