mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 09:11:03 +00:00
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
This commit is contained in:
parent
40c5b448e2
commit
6fa7d994f7
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue