'Handle menu button pressed.'

def _onMenuButton(self, evt):

    if wxc.is_phoenix:
        (x, y) = self.GetPosition()
        (w, h) = self.GetSize()
    else:
        (x, y) = self.GetPositionTuple()
        (w, h) = self.GetSizeTuple()
    self.PopupMenuXY(self._menu, x, ((y + h) - 4))
    evt.Skip()
