mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 17:52:42 +00:00
Add back +initialize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14418 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
864071096e
commit
9feb05cdf8
1 changed files with 10 additions and 0 deletions
|
@ -1836,6 +1836,16 @@ static float scrollerWidth; // == [NSScroller scrollerWidth]
|
|||
[self sendAction: _doubleAction to: [self target]];
|
||||
}
|
||||
|
||||
+ (void)initialize
|
||||
{
|
||||
if (self == [NSBrowser class])
|
||||
{
|
||||
// Initial version
|
||||
[self setVersion: 1];
|
||||
scrollerWidth = [NSScroller scrollerWidth];
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Override superclass methods
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue