[BROWSEUI]

* Remove the unwanted "(Empty)" item from the static menu, the SF menu will add its own if needed.

[RSHELL]
* Load the "(Empty)" string from shell32 resources.

[SHELL32]
* Add the string resource for empty menus.


svn path=/branches/shell-experiments/; revision=65389
This commit is contained in:
David Quintana 2014-11-12 17:13:05 +00:00
parent 4f5c586905
commit cd35aef5ab
7 changed files with 58 additions and 19 deletions

View file

@ -132,7 +132,7 @@ HRESULT STDMETHODCALLTYPE CMenuBand::SetMenu(
BOOL created = FALSE;
if (m_hmenu)
if (m_hmenu && m_hmenu != hmenu)
{
DestroyMenu(m_hmenu);
m_hmenu = NULL;