Reverted previous change, it had some unintended side effects.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21505 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-07-21 03:34:04 +00:00
parent bdc52169e7
commit 534babbb2d
3 changed files with 8 additions and 20 deletions

View file

@ -1,3 +1,8 @@
2005-07-20 23:39 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/GormNSPanel.m
* Palettes/1Windows/GormNSWindow.m: Reverted previous change.
2005-07-19 00:35 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/GormNSPanel.m

View file

@ -111,26 +111,6 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
}
/*
- (void) orderWindow: (NSWindowOrderingMode)place relativeTo: (int)otherWin
{
id<IBDocuments> document = [(id<IB>)NSApp documentForObject: self];
[super orderWindow: place relativeTo: otherWin];
if([NSApp isConnecting] == NO)
{
id editor = [document editorForObject: self create: NO];
// select myself.
if([editor respondsToSelector: @selector(selectObjects:)])
{
[editor selectObjects: [NSArray arrayWithObject: self]];
}
[document setSelectionFromEditor: editor];
[editor makeSelectionVisible: YES];
}
}
*/
- (void) sendEvent: (NSEvent*)theEvent
{
NSView *v;
@ -169,4 +149,5 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
[super sendEvent: theEvent];
}
*/
@end

View file

@ -132,6 +132,7 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
autoPositionMask = mask;
}
/*
- (void) sendEvent: (NSEvent*)theEvent
{
NSView *v;
@ -170,4 +171,5 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
[super sendEvent: theEvent];
}
*/
@end