title: Changing NSTextFieldCell background color on selection
body: <p>I'm trying to change the background color of a NSTextFieldCell when the cell is selected.</p>
  
  <p>This is the code:</p>
  
  <pre><code>- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView {
  
      [super drawWithFrame:cellFrame inView:controlView];
  
      if([self isHighlighted]) {
          [self setBackgroundColor:[NSColor whiteColor]]; 
      }   
  }
  </code></pre>
  
  <p>But the selected row is always blue. I am missing something?</p>
  
  <p><em>Note</em>: this is not an iOS application.</p>
  
  <p>Thanks you in advance.</p>