parameters: (self, event)
docstring: Handles the ``wx.EVT_LEFT_UP`` event for :class:`FlatMenuBar`.
  
          :param `event`: a :class:`MouseEvent` event to be processed.
docstring_summary: Handles the ``wx.EVT_LEFT_UP`` event for :class:`FlatMenuBar`.
docstring_tokens: Handles the wx . EVT_LEFT_UP event for : class : FlatMenuBar .
function: def OnLeftUp(self, event):
          """
          Handles the ``wx.EVT_LEFT_UP`` event for :class:`FlatMenuBar`.
  
          :param `event`: a :class:`MouseEvent` event to be processed.
          """
  
          pt = event.GetPosition()
          idx, where = self.HitTest(pt)
          
          if where == ToolbarItem:
              # Over a toolbar item
              dc = wx.ClientDC(self)
              self.DrawToolbarItem(dc, idx, ControlFocus)
function_tokens: def OnLeftUp ( self , event ) : pt = event . GetPosition ( ) idx , where = self . HitTest ( pt ) if where == ToolbarItem : # Over a toolbar item dc = wx . ClientDC ( self ) self . DrawToolbarItem ( dc , idx , ControlFocus )