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:
wlux 2010-05-15 20:43:27 +00:00
parent e8d8c17ac8
commit be698a3d7c
5 changed files with 13 additions and 14 deletions

View file

@ -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)
{