mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +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
42c1674f12
commit
5d64c2b950
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