Project fixes so that stuff builds, updates to the Background view, tweaks all over.
[ITKit.git] / ITBevelView.m
index 985e313..d5beb0d 100755 (executable)
@@ -54,7 +54,7 @@
 
 - (void)drawRect:(NSRect)aRect
 {
-    NSRect frameRect = [self frame];
+    NSRect frameRect = [self convertRect:[self frame] fromView:[self superview]];
     NSRect innerRect = NSMakeRect( (frameRect.origin.x + _bevelDepth),
                                    (frameRect.origin.y + _bevelDepth),
                                    (frameRect.size.width  - (_bevelDepth * 2)),
     [[[self subviews] objectAtIndex:0] setNeedsDisplay:YES];
 }
 
+- (BOOL)mouseDownCanMoveWindow
+{
+    return NO;
+}
+
 
 /*************************************************************************/
 #pragma mark -