* Undo a test change that shouldn't have reached the commit. ;P

svn path=/branches/shell-experiments/; revision=62318
This commit is contained in:
David Quintana 2014-02-24 11:20:16 +00:00
parent eee3377ec9
commit 8c18269e39

View file

@ -915,7 +915,7 @@ HRESULT CMenuToolbarBase::DoContextMenu(IContextMenu* contextMenu)
CMINVOKECOMMANDINFO cmi = { 0 }; CMINVOKECOMMANDINFO cmi = { 0 };
cmi.cbSize = sizeof(cmi); cmi.cbSize = sizeof(cmi);
cmi.lpVerb = reinterpret_cast<LPCSTR>(uCommand); cmi.lpVerb = MAKEINTRESOURCEA(uCommand);
cmi.hwnd = m_hwnd; cmi.hwnd = m_hwnd;
hr = contextMenu->InvokeCommand(&cmi); hr = contextMenu->InvokeCommand(&cmi);
@ -935,7 +935,6 @@ HRESULT CMenuToolbarBase::OnCommand(WPARAM wParam, LPARAM lParam, LRESULT *theRe
return m_menuBand->_MenuItemHotTrack(MPOS_EXECUTE); return m_menuBand->_MenuItemHotTrack(MPOS_EXECUTE);
} }
HRESULT CMenuToolbarBase::ChangeHotItem(DWORD dwSelectType) HRESULT CMenuToolbarBase::ChangeHotItem(DWORD dwSelectType)
{ {
int prev = m_hotItem; int prev = m_hotItem;