Update panel to use designated init.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30421 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2010-05-19 01:44:50 +00:00
parent 021eddc82a
commit 25198ace11
2 changed files with 4 additions and 5 deletions

View file

@ -6,6 +6,7 @@
* ChangeLog
* GormCore/GormNSWindow.m
* GormCore/GormNSPanel.m
2010-05-18 20:50-EDT Gregory John Casamento <greg.casamento@gmail.com>

View file

@ -67,14 +67,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: flag
screen: aScreen];
styleMask: defaultStyleMask
backing: bufferingType
defer: flag];
if(self != nil)
{
// Don't release when the window is closed, a window being edited may