Changeset fc2d52bfeebb…
Parent 6e193bd7753d…
by
Changes to 2 files · Browse files at fc2d52bfeebb Showing diff from parent 6e193bd7753d Diff from another changeset...
@@ -122,11 +122,10 @@ ;
-void CShellExtCMenu::AddMenuList(
- UINT idCmd, const std::string& name, MenuDescriptionMap& menuDescMap)
+void CShellExtCMenu::AddMenuList(UINT idCmd, const std::string& name)
{
TDEBUG_TRACE("AddMenuList: idCmd = " << idCmd << " name = " << name);
- MenuIdMap[idCmd] = menuDescMap[name];
+ MenuIdMap[idCmd] = CMenuMenuDescMap[name];
}
@@ -308,7 +307,7 @@
MenuDescription md = iter->second;
- AddMenuList(idCmd - idCmdFirst, name, CMenuMenuDescMap);
+ AddMenuList(idCmd - idCmdFirst, name);
InsertMenuItemWithIcon1(
hMenu, indexMenu, idCmd, prefix + md.menuText, md.iconName);
}
|
@@ -37,8 +37,7 @@ void InsertMenuItemByName(
HMENU hMenu, const std::string& name, UINT indexMenu,
UINT idCmd, UINT idCmdFirst, const std::wstring& prefix);
- void AddMenuList(UINT idCmd, const std::string& name,
- MenuDescriptionMap& menuDescMap);
+ void AddMenuList(UINT idCmd, const std::string& name);
public:
explicit CShellExtCMenu(const char dummy);
|
Loading...