From f6fffa7abaf02eb2f4cc4bd05ebfb67b7304f1b0 Mon Sep 17 00:00:00 2001 From: pyr Date: Tue, 23 Oct 2001 22:42:55 +0000 Subject: [PATCH] [NSButtonCell _init]: assign @"" to _keyEquivalent and to _altContents This behaviour is more consistent with other OPENSTEP implementations. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11231 72102866-910b-0410-8b05-ffd578937521 --- Source/NSButtonCell.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/NSButtonCell.m b/Source/NSButtonCell.m index c3e42cd4f..8284fb6dd 100644 --- a/Source/NSButtonCell.m +++ b/Source/NSButtonCell.m @@ -77,6 +77,8 @@ _delayInterval = 0.4; _repeatInterval = 0.075; _keyEquivalentModifierMask = NSCommandKeyMask; + _keyEquivalent = @""; + _altContents = @""; return self; }