Use new designated init when testing window.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30420 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2010-05-19 01:43:34 +00:00
parent ac8141ec81
commit 021eddc82a
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,12 @@
2010-05-18 21:55-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Version: 1.2.12
2010-05-18 21:50-EDT Gregory John Casamento <greg.casamento@gmail.com>
* ChangeLog
* GormCore/GormNSWindow.m
2010-05-18 20:50-EDT Gregory John Casamento <greg.casamento@gmail.com>
* ANNOUNCE

View file

@ -66,14 +66,12 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
styleMask: (unsigned int)aStyle
backing: (NSBackingStoreType)bufferingType
defer: (BOOL)flag
screen: (NSScreen*)aScreen
{
_gormStyleMask = aStyle;
self = [super initWithContentRect: contentRect
styleMask: defaultStyleMask
backing: bufferingType
defer: NO // always no, because this isn't recorded here...
screen: aScreen];
defer: NO]; // always no, because this isn't recorded here...
if(self != nil)
{
// Don't release when the window is closed, a window being edited may