mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:10:37 +00:00
Propagate the change of NSWindow's designated initializer to all
affected subclasses. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30394 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e8d8c17ac8
commit
be698a3d7c
5 changed files with 13 additions and 14 deletions
|
@ -362,8 +362,7 @@ setControl(NSView* content, id control, NSString *title)
|
|||
self = [self initWithContentRect: r
|
||||
styleMask: NSTitledWindowMask
|
||||
backing: NSBackingStoreRetained
|
||||
defer: YES
|
||||
screen: nil];
|
||||
defer: YES];
|
||||
|
||||
if (self == nil)
|
||||
return nil;
|
||||
|
@ -955,7 +954,6 @@ setControl(NSView* content, id control, NSString *title)
|
|||
styleMask: (unsigned int)aStyle
|
||||
backing: (NSBackingStoreType)bufferingType
|
||||
defer: (BOOL)flag
|
||||
screen: (NSScreen*)aScreen
|
||||
{
|
||||
if(NSIsEmptyRect(contentRect))
|
||||
{
|
||||
|
@ -965,8 +963,7 @@ setControl(NSView* content, id control, NSString *title)
|
|||
self = [super initWithContentRect: contentRect
|
||||
styleMask: NSBorderlessWindowMask
|
||||
backing: bufferingType
|
||||
defer: flag
|
||||
screen: aScreen];
|
||||
defer: flag];
|
||||
|
||||
if (self != nil)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue