mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-03 16:10:43 +00:00
(-setFrameFromString:): Don't change the size of the window if it isn't resizable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19905 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7ec8e6e7eb
commit
b7b7df9a7c
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-08-23 17:29 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
|
* Source/NSWindow.m (-setFrameFromString:): Don't change the size
|
||||||
|
of the window if it isn't resizable.
|
||||||
|
|
||||||
2004-08-21 Fred Kiefer <FredKiefer@gmx.de>
|
2004-08-21 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSComboBoxCell.m (-completedString:): Handle a nil
|
* Source/NSComboBoxCell.m (-completedString:): Handle a nil
|
||||||
|
|
|
@ -3775,6 +3775,11 @@ resetCursorRectsForView(NSView *theView)
|
||||||
* (nRect.size.height / sRect.size.height);
|
* (nRect.size.height / sRect.size.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If we aren't resizable (ie. if we don't have a resize bar), make sure
|
||||||
|
we don't change the size. */
|
||||||
|
if (!(_styleMask & NSResizableWindowMask))
|
||||||
|
fRect.size = _frame.size;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set frame.
|
* Set frame.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue