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

@ -1,3 +1,7 @@
2009-03-15 22:09-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSScrollView.m: Use the flags in initWithCoder:
2009-03-15 20:28-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSScrollView.m: Added more flags for nib loading.

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];
}