parameters: (self, arg1=None, arg2=None)
return_statement: return ret
docstring: Sets the maximum size of the pane.
  
          This method is split in 2 versions depending on the input type. If `arg1` is
          a :class:`Size` object, then :meth:`~AuiPaneInfo.MaxSize1` is called. Otherwise, :meth:`~AuiPaneInfo.MaxSize2` is called.
  
          :param `arg1`: a :class:`Size` object, a (x, y) tuple or a `x` coordinate.
          :param `arg2`: a `y` coordinate (only if `arg1` is a `x` coordinate, otherwise unused).
docstring_summary: Sets the maximum size of the pane.
docstring_tokens: Sets the maximum size of the pane .
function: def MaxSize(self, arg1=None, arg2=None):
          """
          Sets the maximum size of the pane.
  
          This method is split in 2 versions depending on the input type. If `arg1` is
          a :class:`Size` object, then :meth:`~AuiPaneInfo.MaxSize1` is called. Otherwise, :meth:`~AuiPaneInfo.MaxSize2` is called.
  
          :param `arg1`: a :class:`Size` object, a (x, y) tuple or a `x` coordinate.
          :param `arg2`: a `y` coordinate (only if `arg1` is a `x` coordinate, otherwise unused).
          """
  
          if isinstance(arg1, wx.Size):
              ret = self.MaxSize1(arg1)
          elif isinstance(arg1, types.TupleType):
              ret = self.MaxSize1(wx.Size(*arg1))
          elif isinstance(arg1, types.IntType) and arg2 is not None:
              ret = self.MaxSize2(arg1, arg2)
          else:
              raise Exception("Invalid argument passed to `MaxSize`: arg1=%s, arg2=%s"%(repr(arg1), repr(arg2)))
  
          return ret
function_tokens: def MaxSize ( self , arg1 = None , arg2 = None ) : if isinstance ( arg1 , wx . Size ) : ret = self . MaxSize1 ( arg1 ) elif isinstance ( arg1 , types . TupleType ) : ret = self . MaxSize1 ( wx . Size ( * arg1 ) ) elif isinstance ( arg1 , types . IntType ) and arg2 is not None : ret = self . MaxSize2 ( arg1 , arg2 ) else : raise Exception ( "Invalid argument passed to `MaxSize`: arg1=%s, arg2=%s" % ( repr ( arg1 ) , repr ( arg2 ) ) ) return ret