mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:41:05 +00:00
* Source/NSSliderCell.m: Implement copyWithZone:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24075 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
84a0a59321
commit
586f972d12
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-11-11 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* Source/NSSliderCell.m: Implement copyWithZone:.
|
||||
|
||||
2006-11-10 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* Source/NSOutlineView.m: Handle rowAtPoint: returning -1.
|
||||
|
|
|
@ -153,6 +153,16 @@ float _floatValueForMousePoint (NSPoint point, NSRect knobRect,
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
- (id) copyWithZone:(NSZone *)zone
|
||||
{
|
||||
NSSliderCell *cpy = [super copyWithZone:zone];
|
||||
|
||||
/* since NSCells -copyWithZone calls NSCopyObject */
|
||||
RETAIN(_titleCell);
|
||||
RETAIN(_knobCell);
|
||||
return cpy;
|
||||
}
|
||||
|
||||
- (BOOL) isFlipped
|
||||
{
|
||||
return YES;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue