"Fixed" ITButton... it's not REALLY fixed, as that's impossible, but it
[ITKit.git] / ITButtonCell.m
index 7885dc3..938e571 100755 (executable)
@@ -51,6 +51,7 @@
     if ( _subStyle == ITGrayRoundedBezelStyle ) {
         [self drawGrayRoundedBezelWithFrame:rect inView:controlView];
         [super drawInteriorWithFrame:rect inView:controlView];
+        [[controlView superview] setNeedsDisplay:YES];
     } else {
         [super drawWithFrame:rect inView:controlView];
     }
     if ( [self isHighlighted] ) {
         alpha = 0.50;
     }
-
+    
     [[NSColor colorWithCalibratedWhite:0.0 alpha:alpha] set];
     [path fill];
 }
 
+- (BOOL)isOpaque
+{
+    return NO;
+}
 
 @end