Skip to content
Snippets Groups Projects
Commit 4c4606f4 authored by Andre Sailer's avatar Andre Sailer
Browse files

DDEve: fix (menu)bar shadow warnings

parent 14c282c5
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ namespace dd4hep {
virtual ~DD4hepMenu();
/// Add the menu to the menu bar
virtual void Build(TGMenuBar* bar, int hints=kLHintsNormal) override;
virtual void Build(TGMenuBar* menuBar, int hints=kLHintsNormal) override;
/// Callback when loading the configuration
void OnLoadXML(TGMenuEntry* entry, void* ptr);
/// Callback when loading the configuration
......
......@@ -212,9 +212,9 @@ namespace dd4hep {
virtual void OnNewEvent(EventHandler& handler) override;
/// Build the DDEve specific menues. Default bar is the ROOT browser's bar
virtual void BuildMenus(TGMenuBar* bar=0);
virtual void BuildMenus(TGMenuBar* menuBar=0);
/// Add new menu to the main menu bar
virtual void AddMenu(TGMenuBar* bar, PopupMenu* menu, int hints=kLHintsNormal);
virtual void AddMenu(TGMenuBar* menuBar, PopupMenu* menu, int hints=kLHintsNormal);
ClassDefOverride(Display,0);
};
......
......@@ -53,7 +53,7 @@ namespace dd4hep {
TGPopupMenu& menu() { return m_popup; }
/// Add the menu to the menu bar
virtual void Build(TGMenuBar* bar, int hints=kLHintsNormal);
virtual void Build(TGMenuBar* menuBar, int hints=kLHintsNormal);
/// Add a menu separator to the menu.
virtual void AddSeparator(TGMenuEntry* before = 0);
......
......@@ -48,7 +48,7 @@ namespace dd4hep {
virtual ~ViewMenu();
/// Add the menu to the menu bar
virtual void Build(TGMenuBar* bar, int hints=kLHintsNormal) override;
virtual void Build(TGMenuBar* menuBar, int hints=kLHintsNormal) override;
/// Import Geometry data and build the view
void BuildView(View *view) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment