Hello,


2000-05-04 Georg Fleischmann

        * gui/Model/GMAppKit.m ([NSWindow -createObjectForModelUnarchiver:]):
        use self instead of NSWindow class
        to allow creation of subclasses of NSWindow


*** gui/Model/GMAppKit.m.old    Thu May  4 18:08:40 2000
--- gui/Model/GMAppKit.m        Thu May  4 17:43:34 2000
***************
*** 1166,1172 ****
    unsigned styleMask = [unarchiver decodeUnsignedIntWithName:@"styleMask"];
    NSRect ctRect = [unarchiver decodeRectWithName:@"contentFrame"];

!   NSWindow* win = [[[NSWindow allocWithZone:[unarchiver objectZone]]
                        initWithContentRect:ctRect
                        styleMask:styleMask backing:backingType defer:YES]
                        autorelease];
--- 1166,1172 ----
    unsigned styleMask = [unarchiver decodeUnsignedIntWithName:@"styleMask"];
    NSRect ctRect = [unarchiver decodeRectWithName:@"contentFrame"];

!   NSWindow* win = [[[self allocWithZone:[unarchiver objectZone]]
                        initWithContentRect:ctRect
                        styleMask:styleMask backing:backingType defer:YES]
                        autorelease];


---
Georg Fleischmann

vhf interservice
http://www.vhf.de

Reply via email to