parameters: (self, command_type, win_id)
docstring: Default class constructor.
  
          :param `command_type`: the event kind or an instance of :class:`PyCommandEvent`.
          :param integer `win_id`: the window identification number.
docstring_summary: Default class constructor.
docstring_tokens: Default class constructor .
function: def __init__(self, command_type, win_id):
          """
          Default class constructor.
  
          :param `command_type`: the event kind or an instance of :class:`PyCommandEvent`.
          :param integer `win_id`: the window identification number.
          """
          
          if type(command_type) == types.IntType:    
              wx.PyCommandEvent.__init__(self, command_type, win_id)
          else:
              wx.PyCommandEvent.__init__(self, command_type.GetEventType(), command_type.GetId())
              
          self.is_dropdown_clicked = False
          self.click_pt = wx.Point(-1, -1)
          self.rect = wx.Rect(-1, -1, 0, 0)
          self.tool_id = -1
function_tokens: def __init__ ( self , command_type , win_id ) : if type ( command_type ) == types . IntType : wx . PyCommandEvent . __init__ ( self , command_type , win_id ) else : wx . PyCommandEvent . __init__ ( self , command_type . GetEventType ( ) , command_type . GetId ( ) ) self . is_dropdown_clicked = False self . click_pt = wx . Point ( - 1 , - 1 ) self . rect = wx . Rect ( - 1 , - 1 , 0 , 0 ) self . tool_id = - 1