Ignore:
Timestamp:
03/03/08 09:25:06 (16 years ago)
Author:
Nicholas Riley
Message:

Undocumented method / hack fallback to determine whether we should draw the highlighted row as active.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEInvertingTextFieldCell.m

    r432 r433  
    2020- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
    2121{
    22     // XXX note cast to ICeCoffEEMenuOutlineView *; this is not general-purpose
    23     if ([self isHighlighted] && [(ICeCoffEEMenuOutlineView *)controlView shouldUseActiveHighlight]) {
     22    if ([self isHighlighted] && ICCF_ViewHasKeyboardFocus(controlView)) {
    2423        NSMutableAttributedString *astr = [[self attributedStringValue] mutableCopy];
    2524        unsigned location = 0, length = [astr length];
Note: See TracChangeset for help on using the changeset viewer.