From 4d0d7be678bdd02f7e66025425c17b5483e7a68f Mon Sep 17 00:00:00 2001 From: FredKiefer Date: Sun, 19 Aug 2001 23:22:32 +0000 Subject: [PATCH] In [setWindowFrameForAttachingToRect:...popUpSelectedItem:] replaced reference to NSMenuWindow with NSWindow. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10729 72102866-910b-0410-8b05-ffd578937521 --- Source/NSMenuView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/NSMenuView.m b/Source/NSMenuView.m index 35c1fee44..10ab4cec6 100644 --- a/Source/NSMenuView.m +++ b/Source/NSMenuView.m @@ -633,8 +633,8 @@ } // Get the frameRect - r = [NSMenuWindow frameRectForContentRect: screenRect - styleMask: [_window styleMask]]; + r = [NSWindow frameRectForContentRect: screenRect + styleMask: [_window styleMask]]; // Update position,if needed, using the preferredEdge; // It seems we should be calling [self resizeWindowWithMaxHeight:];