parameters: (self, event)
docstring: Handles the ``EVT_FLAT_MENU_DISMISSED`` event for :class:`FlatMenuBar`.
  
          :param `event`: a :class:`FlatMenuEvent` event to be processed.
docstring_summary: Handles the ``EVT_FLAT_MENU_DISMISSED`` event for :class:`FlatMenuBar`.
docstring_tokens: Handles the EVT_FLAT_MENU_DISMISSED event for : class : FlatMenuBar .
function: def OnMenuDismissed(self, event):
          """
          Handles the ``EVT_FLAT_MENU_DISMISSED`` event for :class:`FlatMenuBar`.
  
          :param `event`: a :class:`FlatMenuEvent` event to be processed.
          """
  
          pt = wx.GetMousePosition()
          pt = self.ScreenToClient(pt)
  
          idx, where = self.HitTest(pt)
          self.RemoveHelp()
  
          if where not in [MenuItem, DropDownArrowButton]:
              self._dropDownButtonState = ControlNormal
              self._curretHiliteItem = -1
              for item in self._items:
                  item.SetState(ControlNormal)
                  
              self.Refresh()
function_tokens: def OnMenuDismissed ( self , event ) : pt = wx . GetMousePosition ( ) pt = self . ScreenToClient ( pt ) idx , where = self . HitTest ( pt ) self . RemoveHelp ( ) if where not in [ MenuItem , DropDownArrowButton ] : self . _dropDownButtonState = ControlNormal self . _curretHiliteItem = - 1 for item in self . _items : item . SetState ( ControlNormal ) self . Refresh ( )