Add definition of NSWindowStyleMask.

Fix some indentation.
Remove commented out code.
This commit is contained in:
fredkiefer 2020-01-03 17:49:47 +01:00
parent 0792f3080d
commit 97891ed2bb
4 changed files with 10 additions and 10 deletions

View file

@ -134,6 +134,7 @@ enum {
NSIconWindowMask = 64, /* GNUstep extension - app icon window */
NSMiniWindowMask = 128 /* GNUstep extension - miniwindows */
};
typedef NSUInteger NSWindowStyleMask;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
enum {

View file

@ -1018,9 +1018,9 @@ static BOOL _isInInterfaceBuilder = NO;
if (GSObjCIsKindOf(aClass, [NSApplication class]) ||
[_className isEqual: @"NSApplication"])
{
{
_object = RETAIN([aClass sharedApplication]);
}
}
else if ((GSObjCIsKindOf(aClass, [NSFontManager class])) ||
([_className isEqual: @"NSFontManager"]))
{

View file

@ -33,14 +33,14 @@
@interface GSXib5KeyedUnarchiver : GSXibKeyedUnarchiver
{
GSXibElement *_IBObjectContainer;
GSXibElement *_connectionRecords;
GSXibElement *_objectRecords;
GSXibElement *_orderedObjects;
GSXibElement *_flattenedProperties;
GSXibElement *_runtimeAttributes;
GSXibElement *_IBObjectContainer;
GSXibElement *_connectionRecords;
GSXibElement *_objectRecords;
GSXibElement *_orderedObjects;
GSXibElement *_flattenedProperties;
GSXibElement *_runtimeAttributes;
NSMutableDictionary *_orderedObjectsDict;
NSArray *_resources;
NSArray *_resources;
}
- (NSRange) decodeRangeForKey: (NSString*)key;

View file

@ -697,7 +697,6 @@ static NSArray *XmlBoolDefaultYes = nil;
nil]];
GSXibElement *reference = [self createReference: [element attributeForKey: @"id"]];
//[element setAttribute: @"connection" forKey: @"key"];
[objectRecord setElement: element forKey: @"object"];
[objectRecord setElement: parent forKey: @"parent"];
[objectRecord setElement: children forKey: @"children"];