parameters: (self, colour=wx.BLACK, spacing=FPB_DEFAULT_SPACING,
                       leftSpacing=FPB_DEFAULT_LEFTSPACING,
                       rightSpacing=FPB_DEFAULT_RIGHTSPACING)
docstring: Adds a separator item to the list of items on this panel.
  
          :param `colour`: the separator colour, an instance of :class:`Colour`;
          :param `spacing`: the separator to be added can be slightly indented from
           left and right so it is more visibly placed in the fold panel. Use `spacing` > 0
           to give the control an y offset from the previous :class:`Window` added;
          :param `leftSpacing`: give the added separator a slight indent from the left;
          :param `rightSpacing`: give the added separator a slight indent from the right.
docstring_summary: Adds a separator item to the list of items on this panel.
docstring_tokens: Adds a separator item to the list of items on this panel .
function: def AddSeparator(self, colour=wx.BLACK, spacing=FPB_DEFAULT_SPACING,
                       leftSpacing=FPB_DEFAULT_LEFTSPACING,
                       rightSpacing=FPB_DEFAULT_RIGHTSPACING):
          """
          Adds a separator item to the list of items on this panel.
  
          :param `colour`: the separator colour, an instance of :class:`Colour`;
          :param `spacing`: the separator to be added can be slightly indented from
           left and right so it is more visibly placed in the fold panel. Use `spacing` > 0
           to give the control an y offset from the previous :class:`Window` added;
          :param `leftSpacing`: give the added separator a slight indent from the left;
          :param `rightSpacing`: give the added separator a slight indent from the right.        
          """
          
          wi = FoldWindowItem(self, window=None, Type="SEPARATOR",
                              flags=FPB_ALIGN_WIDTH, y=self._LastInsertPos,
                              colour=colour, spacing=spacing, leftSpacing=leftSpacing,
                              rightSpacing=rightSpacing)
          
          self._items.append(wi)
          self._LastInsertPos = self._LastInsertPos + \
                                wi.GetWindowLength(self.IsVertical())
          
          self.ResizePanel()
function_tokens: def AddSeparator ( self , colour = wx . BLACK , spacing = FPB_DEFAULT_SPACING , leftSpacing = FPB_DEFAULT_LEFTSPACING , rightSpacing = FPB_DEFAULT_RIGHTSPACING ) : wi = FoldWindowItem ( self , window = None , Type = "SEPARATOR" , flags = FPB_ALIGN_WIDTH , y = self . _LastInsertPos , colour = colour , spacing = spacing , leftSpacing = leftSpacing , rightSpacing = rightSpacing ) self . _items . append ( wi ) self . _LastInsertPos = self . _LastInsertPos + wi . GetWindowLength ( self . IsVertical ( ) ) self . ResizePanel ( )