mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 21:51:55 +00:00
Fix some bugs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2516 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
18b1cf147c
commit
578e55e628
5 changed files with 20 additions and 7 deletions
|
@ -117,7 +117,7 @@ static Class rulerViewClass = nil;
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void)setContentView:(NSClipView*)aView
|
||||
- (void)setContentView:(NSView*)aView
|
||||
{
|
||||
ASSIGN(_contentView, aView);
|
||||
[self addSubview:_contentView];
|
||||
|
@ -407,7 +407,7 @@ static Class rulerViewClass = nil;
|
|||
- (BOOL)hasVerticalScroller { return _hasVertScroller; }
|
||||
- (BOOL)hasHorizontalRuler { return _hasHorizRuler; }
|
||||
- (NSSize)contentSize { return [_contentView bounds].size; }
|
||||
- (NSClipView*)contentView { return _contentView; }
|
||||
- (NSView*)contentView { return _contentView; }
|
||||
- (NSRulerView*)horizontalRulerView { return _horizRuler; }
|
||||
- (BOOL)hasVerticalRuler { return _hasVertRuler; }
|
||||
- (NSRulerView*)verticalRulerView { return _vertRuler; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue