allocSubstitute for NSPanel.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21587 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-07-31 23:07:30 +00:00
parent e5abeefe0d
commit d37c771ac9
2 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-07-31 19:14 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/main.m: Addition of allocSubstitute method for
NSPanel in the category GormPrivate.
2005-07-31 18:56 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormDocument.m: Correction for bug#13990.

View file

@ -150,9 +150,9 @@
}
@end
/* ---------------------------------------------------------
NSwindow inspector
---------------------------------------------------------*/
/*---------------------------------------------------------
// NSWindow inspector
---------------------------------------------------------*/
@implementation NSWindow (GormPrivate)
+ (id) allocSubstitute
{
@ -160,6 +160,13 @@ NSwindow inspector
}
@end
@implementation NSPanel (GormPrivate)
+ (id) allocSubstitute
{
return [GormNSPanel alloc];
}
@end
// the normal classes...
@implementation NSWindow (IBInspectorClassNames)
- (NSString*) inspectorClassName