Added workaround for OSX bug in +new ... to get portability to OSX

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13421 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-04-11 10:23:28 +00:00
parent 37f98cebdf
commit fa75f573cd

View file

@ -45,6 +45,15 @@
if (self == [GSTable class])
[self setVersion: 1];
}
/* It was reported that the inherited +new implementation doesn't work
* on OSX. Override it with a sane implementation to get portability
* to OSX. */
+(id) new
{
return [[self alloc] init];
}
//
// Instance Methods
//