Correction to template. Should initilialize with the content rect, not the window rect.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21175 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-05-01 21:09:58 +00:00
parent 159eed5a6c
commit 9e040bfe2b

View file

@ -742,7 +742,7 @@ static NSString *GSInternalNibItemAddedNotification = @"_GSInternalNibItemAddedN
// if we are not in interface builder, call
// designated initializer per spec...
contentView = [obj contentView];
obj = [obj initWithContentRect: [obj frame]
obj = [obj initWithContentRect: [contentView frame]
styleMask: [obj styleMask]
backing: [obj backingType]
defer: _deferFlag];