Revert last change

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38394 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2015-03-11 00:57:46 +00:00
parent 2df985f377
commit 687bada9e1
4 changed files with 5 additions and 70 deletions

View file

@ -118,10 +118,6 @@ BOOL GSViewAcceptsDrag(NSView *v, id<NSDraggingInfo> dragInfo);
- (void) postDragEvent: (NSEvent*)event;
@end
@interface NSMenu (GNUstepPrivate)
+ (NSMenu*)_currentMenu;
@end
@interface NSView (MoveToWindow)
// Normally this method is only used internally.
- (void) _viewWillMoveToWindow: (NSWindow*)newWindow;
@ -4047,10 +4043,6 @@ resetCursorRectsForView(NSView *theView)
{
[self saveFrameUsingName: _autosaveName];
}
if ([NSMenu _currentMenu])
{
[[NSMenu _currentMenu] close];
}
[nc postNotificationName: NSWindowDidMoveNotification
object: self];
break;
@ -4077,10 +4069,6 @@ resetCursorRectsForView(NSView *theView)
{
[self saveFrameUsingName: _autosaveName];
}
if ([NSMenu _currentMenu])
{
[[NSMenu _currentMenu] close];
}
[self _processResizeEvent];
[nc postNotificationName: NSWindowDidResizeNotification