parameters: (self)
docstring: Initializes the 16 custom colours in :class:`CustomPanel`.
docstring_summary: Initializes the 16 custom colours in :class:`CustomPanel`.
docstring_tokens: Initializes the 16 custom colours in : class : CustomPanel .
function: def InitializeColours(self):
          """ Initializes the 16 custom colours in :class:`CustomPanel`. """
  
          curr = self._colourData.GetColour()
          self._colourSelection = -1
          
          for i in xrange(16):
              c = self._colourData.GetCustomColour(i)
              if c.Ok():
                  self._customColours[i] = self._colourData.GetCustomColour(i)
              else:
                  self._customColours[i] = wx.Colour(255, 255, 255)
  
              if c == curr:
                  self._colourSelection = i
function_tokens: def InitializeColours ( self ) : curr = self . _colourData . GetColour ( ) self . _colourSelection = - 1 for i in xrange ( 16 ) : c = self . _colourData . GetCustomColour ( i ) if c . Ok ( ) : self . _customColours [ i ] = self . _colourData . GetCustomColour ( i ) else : self . _customColours [ i ] = wx . Colour ( 255 , 255 , 255 ) if c == curr : self . _colourSelection = i