parameters: (self, status)
docstring: Checks whether a :class:`ButtonPanel` repaint is needed or not. This is a convenience function.
  
          :param bool `status`: the status of a newly added :class:`ButtonInfo` or a change in the
           :class:`ButtonInfo` status.
docstring_summary: Checks whether a :class:`ButtonPanel` repaint is needed or not. This is a convenience function.
docstring_tokens: Checks whether a : class : ButtonPanel repaint is needed or not . This is a convenience function .
function: def CheckRefresh(self, status):
          """
          Checks whether a :class:`ButtonPanel` repaint is needed or not. This is a convenience function.
  
          :param bool `status`: the status of a newly added :class:`ButtonInfo` or a change in the
           :class:`ButtonInfo` status.
          """
  
          if status == self._status:
              self._parent.RefreshRect(self.GetRect())
function_tokens: def CheckRefresh ( self , status ) : if status == self . _status : self . _parent . RefreshRect ( self . GetRect ( ) )