mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +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
525f1c40c4
commit
6029fc9d6c
5 changed files with 13 additions and 14 deletions
|
@ -1,3 +1,11 @@
|
|||
2010-05-15 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSAlert.m:
|
||||
* Source/NSDrawer.m:
|
||||
* Source/NSHelpPanel.m:
|
||||
* Source/NSPrintPanel.m: Propagate the change of NSWindow's
|
||||
designated initializer to all affected subclasses.
|
||||
|
||||
2010-05-14 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/GSGormLoading.m (-awakeWithContext): Add support for a
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -96,7 +96,6 @@ static NSNotificationCenter *nc = nil;
|
|||
styleMask: (unsigned int)aStyle
|
||||
backing: (NSBackingStoreType)bufferingType
|
||||
defer: (BOOL)flag
|
||||
screen: (NSScreen*)aScreen
|
||||
{
|
||||
if(NSIsEmptyRect(contentRect))
|
||||
{
|
||||
|
@ -106,8 +105,7 @@ static NSNotificationCenter *nc = nil;
|
|||
self = [super initWithContentRect: contentRect
|
||||
styleMask: aStyle
|
||||
backing: bufferingType
|
||||
defer: flag
|
||||
screen: aScreen];
|
||||
defer: flag];
|
||||
if (self != nil)
|
||||
{
|
||||
NSRect rect = contentRect;
|
||||
|
|
|
@ -133,7 +133,6 @@ static NSHelpPanel *_sharedPanel = nil;
|
|||
styleMask: (unsigned int)aStyle
|
||||
backing: (NSBackingStoreType)bufferingType
|
||||
defer: (BOOL)flag
|
||||
screen: (NSScreen*)aScreen
|
||||
{
|
||||
if (_sharedPanel == nil)
|
||||
{
|
||||
|
@ -147,8 +146,7 @@ static NSHelpPanel *_sharedPanel = nil;
|
|||
self = [super initWithContentRect: contentRect
|
||||
styleMask: NSTitledWindowMask|NSClosableWindowMask|NSResizableWindowMask
|
||||
backing: NSBackingStoreBuffered
|
||||
defer: NO
|
||||
screen: nil];
|
||||
defer: NO];
|
||||
[self setReleasedWhenClosed: NO];
|
||||
[self setTitle: _(@"Help")];
|
||||
s = [[NSScrollView alloc] initWithFrame: contentRect];
|
||||
|
|
|
@ -123,7 +123,6 @@ static NSPrintPanel *shared_instance;
|
|||
styleMask: (unsigned int)aStyle
|
||||
backing: (NSBackingStoreType)bufferingType
|
||||
defer: (BOOL)flag
|
||||
screen: (NSScreen*)aScreen
|
||||
{
|
||||
unsigned int i;
|
||||
id control;
|
||||
|
@ -134,8 +133,7 @@ static NSPrintPanel *shared_instance;
|
|||
self = [super initWithContentRect: contentRect
|
||||
styleMask: aStyle
|
||||
backing: bufferingType
|
||||
defer: flag
|
||||
screen: aScreen];
|
||||
defer: flag];
|
||||
if (self == nil)
|
||||
return nil;
|
||||
|
||||
|
|
Loading…
Reference in a new issue