diff --git a/DDEve/include/DDEve/PopupMenu.h b/DDEve/include/DDEve/PopupMenu.h index af1e8a189821456ba3aa553225786c0be56ec13e..a7aa335224381cf40ce4bb044fca49f4e9ae53a8 100644 --- a/DDEve/include/DDEve/PopupMenu.h +++ b/DDEve/include/DDEve/PopupMenu.h @@ -58,9 +58,9 @@ namespace dd4hep { /// Add a menu separator to the menu. virtual void AddSeparator(TGMenuEntry* before = 0); /// Add a menu label to the menu. - virtual void AddLabel(const char* s, const TGPicture* p = 0, TGMenuEntry* before = 0); + virtual void AddLabel(const char* label, const TGPicture* p = 0, TGMenuEntry* before = 0); /// Add a (cascading) popup menu to a popup menu. - virtual void AddPopup(const char* s, TGPopupMenu* popup, TGMenuEntry* before = 0, const TGPicture* p = 0); + virtual void AddPopup(const char* name, TGPopupMenu* popup, TGMenuEntry* before = 0, const TGPicture* p = 0); /// Add a new popup menu entry with a callback virtual int AddEntry(const char* name, Callback cb, void* ud=0, const TGPicture* p=0, TGMenuEntry* before=0); /// Add a new popup menu entry with a callback