docs: def SetupToolBar(self):
          """Create the toolbar for common actions"""
          tb = self.CreateToolBar(self.TBFLAGS)
          tsize = (24, 24)
          tb.ToolBitmapSize = tsize
          open_bmp = wx.ArtProvider.GetBitmap(wx.ART_FILE_OPEN, wx.ART_TOOLBAR,
                                              tsize)
          tb.AddLabelTool(ID_OPEN, "Open", open_bmp, shortHelp="Open",
                          longHelp="Open a (c)Profile trace file")
          if not osx:
              tb.AddSeparator()
  #        self.Bind(wx.EVT_TOOL, self.OnOpenFile, id=ID_OPEN)
          self.rootViewTool = tb.AddLabelTool(
              ID_ROOT_VIEW, _("Root View"),
              wx.ArtProvider.GetBitmap(wx.ART_GO_HOME, wx.ART_TOOLBAR, tsize),
              shortHelp=_("Display the root of the current view tree (home view)")
          )
          self.rootViewTool = tb.AddLabelTool(
              ID_BACK_VIEW, _("Back"),
              wx.ArtProvider.GetBitmap(wx.ART_GO_BACK, wx.ART_TOOLBAR, tsize),
              shortHelp=_("Back to the previously activated node in the call tree")
          )
          self.upViewTool = tb.AddLabelTool(
              ID_UP_VIEW, _("Up"),
              wx.ArtProvider.GetBitmap(wx.ART_GO_UP, wx.ART_TOOLBAR, tsize),
              shortHelp=_("Go one level up the call tree (highest-percentage parent)")
          )
          if not osx:
              tb.AddSeparator()
          # TODO: figure out why the control is sizing the label incorrectly on Linux
          self.percentageViewTool = wx.CheckBox(tb, -1, _("Percent    "))
          self.percentageViewTool.SetToolTip(wx.ToolTip(
              _("Toggle display of percentages in list views")))
          tb.AddControl(self.percentageViewTool)
          wx.EVT_CHECKBOX(self.percentageViewTool,
                          self.percentageViewTool.GetId(), self.OnPercentageView)
  
          self.viewTypeTool= wx.Choice( tb, -1, choices= getattr(self.loader,'ROOTS',[]) )
          self.viewTypeTool.SetToolTip(wx.ToolTip(
              _("Switch between different hierarchic views of the data")))
          wx.EVT_CHOICE( self.viewTypeTool, self.viewTypeTool.GetId(), self.OnViewTypeTool )
          tb.AddControl( self.viewTypeTool )
          tb.Realize()