mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
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:
parent
021eddc82a
commit
25198ace11
2 changed files with 4 additions and 5 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
* ChangeLog
|
||||
* GormCore/GormNSWindow.m
|
||||
* GormCore/GormNSPanel.m
|
||||
|
||||
2010-05-18 20:50-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue