code: def BrushForNode( self, node, depth=0 ):
          
          if node == self.selectedNode:
              color = wx.SystemSettings_GetColour(wx.SYS_COLOUR_HIGHLIGHT)
          elif node == self.highlightedNode:
              color = wx.Colour( red=0, green=255, blue=0 )
          else:
              color = self.adapter.background_color(node, depth)
              if not color:
                  red = (depth * 10)%255
                  green = 255-((depth * 5)%255)
                  blue = (depth * 25)%255
                  color = wx.Colour( red, green, blue )
          return wx.Brush( color  )
docs: Create brush to use to display the given node