Use new flags in initWithCoder:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28081 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-03-16 02:10:38 +00:00
parent 748f579ecf
commit e4fcef380e
2 changed files with 6 additions and 1 deletions

View file

@ -1547,7 +1547,7 @@ static float scrollerWidth;
_hasHorizScroller = scrollViewFlags.hasHScroller;
_autohidesScrollers = scrollViewFlags.autohidesScrollers;
_scrollsDynamically = (!scrollViewFlags.nonDynamic);
// _rulersVisible = scrollViewFlags.rulersVisible;
_rulersVisible = scrollViewFlags.showRulers;
_hasHorizRuler = scrollViewFlags.hasHRuler;
_hasVertRuler = scrollViewFlags.hasVRuler;
// [self setDrawsBackground: (!scrollViewFlags.doesNotDrawBack)];
@ -1571,6 +1571,7 @@ static float scrollerWidth;
[content setFrame: frame];
}
// set the document view into the content.
[self setContentView: content];
}