mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
159eed5a6c
commit
9e040bfe2b
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue