mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:10:38 +00:00
[initWithFrame:] switch of the creation of a NSLayoutManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7545 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c834c9bc02
commit
915919b6a5
1 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@
|
|||
{
|
||||
NSTextContainer *aTextContainer =
|
||||
[[NSTextContainer alloc] initWithContainerSize: frameRect.size];
|
||||
NSLayoutManager *layoutManager = [[NSLayoutManager alloc] init];
|
||||
/* NSLayoutManager *layoutManager = [[NSLayoutManager alloc] init];
|
||||
|
||||
[layoutManager addTextContainer: aTextContainer];
|
||||
RELEASE(aTextContainer);
|
||||
|
@ -93,7 +93,7 @@
|
|||
_textStorage = [[NSTextStorage alloc] init];
|
||||
[_textStorage addLayoutManager: layoutManager];
|
||||
RELEASE(layoutManager);
|
||||
|
||||
*/
|
||||
return [self initWithFrame: frameRect textContainer: aTextContainer];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue