mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 15:36:34 +00:00
Replace direct use of the isa pointer with a call to object_getClass()
to make David happy. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33545 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3958406375
commit
86ff6abf69
15 changed files with 60 additions and 37 deletions
|
@ -959,7 +959,7 @@ static float scrollerWidth;
|
|||
_hasHorizRuler = flag;
|
||||
if (_hasHorizRuler && _horizRuler == nil)
|
||||
{
|
||||
_horizRuler = [[isa rulerViewClass] alloc];
|
||||
_horizRuler = [[object_getClass(self) rulerViewClass] alloc];
|
||||
_horizRuler = [_horizRuler initWithScrollView: self
|
||||
orientation: NSHorizontalRuler];
|
||||
}
|
||||
|
@ -1010,7 +1010,7 @@ static float scrollerWidth;
|
|||
_hasVertRuler = flag;
|
||||
if (_hasVertRuler && _vertRuler == nil)
|
||||
{
|
||||
_vertRuler = [[isa rulerViewClass] alloc];
|
||||
_vertRuler = [[object_getClass(self) rulerViewClass] alloc];
|
||||
_vertRuler = [_vertRuler initWithScrollView: self
|
||||
orientation: NSVerticalRuler];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue