mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[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:
parent
4f5c586905
commit
cd35aef5ab
7 changed files with 58 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue