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
This commit is contained in:
FredKiefer 2001-08-19 23:22:32 +00:00
parent c511088b01
commit 4d0d7be678

View file

@ -633,8 +633,8 @@
} }
// Get the frameRect // Get the frameRect
r = [NSMenuWindow frameRectForContentRect: screenRect r = [NSWindow frameRectForContentRect: screenRect
styleMask: [_window styleMask]]; styleMask: [_window styleMask]];
// Update position,if needed, using the preferredEdge; // Update position,if needed, using the preferredEdge;
// It seems we should be calling [self resizeWindowWithMaxHeight:]; // It seems we should be calling [self resizeWindowWithMaxHeight:];