parameters: (self, dock, pane)
return_statement: return minPix, maxPix
docstring: Calculates the minimum and maximum sizes allowed for the input pane.
  
          :param `dock`: the :class:`AuiDockInfo` structure to which `pane` belongs to;
          :param `pane`: a :class:`AuiPaneInfo` class for which calculation are requested.
docstring_summary: Calculates the minimum and maximum sizes allowed for the input pane.
docstring_tokens: Calculates the minimum and maximum sizes allowed for the input pane .
function: def CalculatePaneSizerLimits(self, dock, pane):
          """
          Calculates the minimum and maximum sizes allowed for the input pane.
  
          :param `dock`: the :class:`AuiDockInfo` structure to which `pane` belongs to;
          :param `pane`: a :class:`AuiPaneInfo` class for which calculation are requested.
          """
  
          if pane.IsFixed():
              if dock.IsHorizontal():
                  minPix = maxPix = pane.rect.x + 1 + pane.rect.width
              else:
                  minPix = maxPix = pane.rect.y + 1 + pane.rect.height
  
              return minPix, maxPix
  
          totalPixsize, totalProportion = self.GetTotalPixSizeAndProportion(dock)
          partnerPane = self.GetPartnerPane(dock, pane)
  
          if dock.IsHorizontal():
  
              minPix = pane.rect.x + 1
              maxPix = pane.rect.x + 1 + pane.rect.width
  
              if pane.min_size.IsFullySpecified():
                  minPix += pane.min_size.x
              else:
                  minPix += 1
  
              if partnerPane:
                  maxPix += partnerPane.rect.width
  
                  if partnerPane.min_size.IsFullySpecified():
                      maxPix -= partnerPane.min_size.x - 1
  
              else:
                  minPix = maxPix
  
          else:
  
              minPix = pane.rect.y + 1
              maxPix = pane.rect.y + 1 + pane.rect.height
  
              if pane.min_size.IsFullySpecified():
                  minPix += pane.min_size.y
              else:
                  minPix += 1
  
              if partnerPane:
                  maxPix += partnerPane.rect.height
  
                  if partnerPane.min_size.IsFullySpecified():
                      maxPix -= partnerPane.min_size.y - 1
  
              else:
                  minPix = maxPix
  
          return minPix, maxPix
function_tokens: def CalculatePaneSizerLimits ( self , dock , pane ) : if pane . IsFixed ( ) : if dock . IsHorizontal ( ) : minPix = maxPix = pane . rect . x + 1 + pane . rect . width else : minPix = maxPix = pane . rect . y + 1 + pane . rect . height return minPix , maxPix totalPixsize , totalProportion = self . GetTotalPixSizeAndProportion ( dock ) partnerPane = self . GetPartnerPane ( dock , pane ) if dock . IsHorizontal ( ) : minPix = pane . rect . x + 1 maxPix = pane . rect . x + 1 + pane . rect . width if pane . min_size . IsFullySpecified ( ) : minPix += pane . min_size . x else : minPix += 1 if partnerPane : maxPix += partnerPane . rect . width if partnerPane . min_size . IsFullySpecified ( ) : maxPix -= partnerPane . min_size . x - 1 else : minPix = maxPix else : minPix = pane . rect . y + 1 maxPix = pane . rect . y + 1 + pane . rect . height if pane . min_size . IsFullySpecified ( ) : minPix += pane . min_size . y else : minPix += 1 if partnerPane : maxPix += partnerPane . rect . height if partnerPane . min_size . IsFullySpecified ( ) : maxPix -= partnerPane . min_size . y - 1 else : minPix = maxPix return minPix , maxPix