[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #23336] NSWindow initWithContentRect:sytleMask... apparently called
From: |
Gregory John Casamento |
Subject: |
[bug #23336] NSWindow initWithContentRect:sytleMask... apparently called twice when loading from .gorm file |
Date: |
Sat, 24 May 2008 12:30:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.14eol) Gecko/20070505 (Debian-1.8.0.15~pre080323b-0etch2) Epiphany/2.14 |
Follow-up Comment #5, bug #23336 (project gnustep):
As it turns out, this was caused by the fact that the initWithCoder method
was calling
initWithContentRect:styleMask:defer:defer:screen:
Which is not the designated initializer for NSWindow.
This one is...
- (id)initWithContentRect:(NSRect)contentRect
styleMask:(unsigned int)styleMask
backing:(NSBackingStoreType)backingType
defer:(BOOL)flag
So I made it call that one and, now, it seems to work properly.
Thanks for reporting this... it was easier to fix than I thought it might be.
I'm going to do some additional testing prior to checking this in to make
certain everything is working properly. GC
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23336>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #23336] NSWindow initWithContentRect:sytleMask... apparently called twice when loading from .gorm file, Gregory John Casamento, 2008/05/23
- [bug #23336] NSWindow initWithContentRect:sytleMask... apparently called twice when loading from .gorm file, Gregory John Casamento, 2008/05/23
- [bug #23336] NSWindow initWithContentRect:sytleMask... apparently called twice when loading from .gorm file, Gregory John Casamento, 2008/05/23
- [bug #23336] NSWindow initWithContentRect:sytleMask... apparently called twice when loading from .gorm file, Gregory John Casamento, 2008/05/23
- [bug #23336] NSWindow initWithContentRect:sytleMask... apparently called twice when loading from .gorm file, Gregory John Casamento, 2008/05/24
- [bug #23336] NSWindow initWithContentRect:sytleMask... apparently called twice when loading from .gorm file,
Gregory John Casamento <=
- [bug #23336] NSWindow initWithContentRect:sytleMask... apparently called twice when loading from .gorm file, Gregory John Casamento, 2008/05/24
- [bug #23336] NSWindow initWithContentRect:sytleMask... apparently called twice when loading from .gorm file, Gregory John Casamento, 2008/05/24
- [bug #23336] NSWindow initWithContentRect:sytleMask... apparently called twice when loading from .gorm file, Gregory John Casamento, 2008/05/24