parameters: (self, pt)
return_statement: return wx.NOT_FOUND, BP_HT_NONE
docstring: HitTest method for :class:`ButtonPanel`.
  
          :param `pt`: the mouse position, an instance of :class:`Point`.
          
          :returns: an instance of :class:`ButtonInfo` and the hit flag ``BP_HT_BUTTON`` if a button
           client rectangle contains the input point `pt`, or ``wx.NOT_FOUND`` and ``BP_HT_NONE``.
docstring_summary: HitTest method for :class:`ButtonPanel`.
docstring_tokens: HitTest method for : class : ButtonPanel .
function: def HitTest(self, pt):
          """
          HitTest method for :class:`ButtonPanel`.
  
          :param `pt`: the mouse position, an instance of :class:`Point`.
          
          :returns: an instance of :class:`ButtonInfo` and the hit flag ``BP_HT_BUTTON`` if a button
           client rectangle contains the input point `pt`, or ``wx.NOT_FOUND`` and ``BP_HT_NONE``.
          """
           
          for ii in xrange(len(self._vButtons)):
              if not self._vButtons[ii].IsEnabled():
                  continue
              if self._vButtons[ii].GetRect().Contains(pt):
                  return ii, BP_HT_BUTTON
  
          return wx.NOT_FOUND, BP_HT_NONE
function_tokens: def HitTest ( self , pt ) : for ii in xrange ( len ( self . _vButtons ) ) : if not self . _vButtons [ ii ] . IsEnabled ( ) : continue if self . _vButtons [ ii ] . GetRect ( ) . Contains ( pt ) : return ii , BP_HT_BUTTON return wx . NOT_FOUND , BP_HT_NONE