mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:10:38 +00:00
Fixed linking to the text container during initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7466 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8744e90eae
commit
854819af64
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
|||
{
|
||||
self = [super initWithFrame: frameRect];
|
||||
|
||||
[self setTextContainer: aTextContainer];
|
||||
[aTextContainer setTextView: self];
|
||||
[self setEditable: YES];
|
||||
[self setUsesFontPanel: YES];
|
||||
[self setUsesRuler: YES];
|
||||
|
@ -97,6 +97,7 @@
|
|||
return [self initWithFrame: frameRect textContainer: aTextContainer];
|
||||
}
|
||||
|
||||
/* This should only be called by [NSTextContainer -setTextView:] */
|
||||
- (void) setTextContainer: (NSTextContainer*)aTextContainer
|
||||
{
|
||||
ASSIGN(_textContainer, aTextContainer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue