From 6fa7d994f70aca19d64d53bc8c991e1f11f9286f Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 29 Apr 1999 12:48:58 +0000 Subject: [PATCH] Default implementation of drawRect: is to call drawCell: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4167 72102866-910b-0410-8b05-ffd578937521 --- Source/NSControl.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/NSControl.m b/Source/NSControl.m index 36c88108c..f1521d8ef 100644 --- a/Source/NSControl.m +++ b/Source/NSControl.m @@ -307,6 +307,11 @@ static id _NSCONTROL_CELL_CLASS = nil; // // Displaying the Control and Cell // +- (void) drawRect: (NSRect)aRect +{ + [self drawCell: cell]; +} + - (void) drawCell: (NSCell *)aCell { if (cell == aCell)