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:];