Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable cmenu: make AddMenuList a member of CShellExtCMenu

Changeset e9f1a2588a49

Parent e4326e10facf

by Adrian Buehlmann

Changes to 2 files · Browse files at e9f1a2588a49 Showing diff from parent e4326e10facf Diff from another changeset...

 
127
128
129
130
 
 
131
132
133
 
127
128
129
 
130
131
132
133
134
@@ -127,7 +127,8 @@
 static MenuDescriptionMap CMenuMenuDescMap;  static MenuIdCmdMap MenuIdMap;   -void AddMenuList(UINT idCmd, const std::string& name, MenuDescriptionMap& menuDescMap) +void CShellExtCMenu::AddMenuList( + UINT idCmd, const std::string& name, MenuDescriptionMap& menuDescMap)  {   TDEBUG_TRACE("AddMenuList: idCmd = " << idCmd << " name = " << name);   MenuIdMap[idCmd] = menuDescMap[name];
 
33
34
35
 
 
36
37
38
 
33
34
35
36
37
38
39
40
@@ -33,6 +33,8 @@
  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);    public:   explicit CShellExtCMenu(const char dummy);