From 770d5eb257f00b42908481faccde03e3aab28cdd Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Tue, 22 Dec 2015 11:10:31 -0800 Subject: [PATCH] Fixed: nib2cib is broken due to the new feature CPTrackingArea. The array _trackingAres is not initialize when creating NS* object --- Tools/nib2cib/NSView.j | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tools/nib2cib/NSView.j b/Tools/nib2cib/NSView.j index e25ce5eff..ba2ef46d8 100644 --- a/Tools/nib2cib/NSView.j +++ b/Tools/nib2cib/NSView.j @@ -70,6 +70,8 @@ var NSViewAutoresizingMask = 0x3F, _isHidden = vFlags & NSViewHiddenMask; _opacity = 1.0;//[aCoder decodeIntForKey:CPViewOpacityKey]; + _trackingAreas = []; + _themeClass = [self themeClass]; _themeAttributes = {}; _themeState = CPThemeStateNormal;