mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:50:37 +00:00
Updated for change in NSWindow's ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7396 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4a96f79258
commit
858981c0df
3 changed files with 8 additions and 8 deletions
|
@ -1279,7 +1279,7 @@ static NSString *NSMenuLocationsKey = @"NSMenuLocations";
|
|||
- (void) _initDefaults
|
||||
{
|
||||
[super _initDefaults];
|
||||
window_level = NSSubmenuWindowLevel;
|
||||
_windowLevel = NSSubmenuWindowLevel;
|
||||
}
|
||||
|
||||
- (id) init
|
||||
|
@ -1309,7 +1309,7 @@ static NSString *NSMenuLocationsKey = @"NSMenuLocations";
|
|||
// This method is a hack to speed-up menu dragging.
|
||||
- (void) moveToPoint: (NSPoint)aPoint
|
||||
{
|
||||
NSRect frameRect = frame;
|
||||
NSRect frameRect = _frame;
|
||||
|
||||
frameRect.origin = aPoint;
|
||||
DPSplacewindow(GSCurrentContext(), frameRect.origin.x, frameRect.origin.y,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue