From aabbc2a36d66cfb00fb85f9ca572a7affe8d6e64 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Tue, 27 Jun 2000 17:33:16 +0000 Subject: [PATCH] Added mixed state support git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6827 72102866-910b-0410-8b05-ffd578937521 --- Source/NSButton.m | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Source/NSButton.m b/Source/NSButton.m index 1d4f8c299..7c24c37d5 100644 --- a/Source/NSButton.m +++ b/Source/NSButton.m @@ -137,6 +137,21 @@ id _nsbuttonCellClass = nil; return [_cell state]; } +- (BOOL) allowsMixedState +{ + return [_cell allowsMixedState]; +} + +- (void) setAllowsMixedState: (BOOL)flag +{ + [_cell setAllowsMixedState: flag]; +} + +- (void)setNextState +{ + [_cell setNextState]; +} + // // Setting the Repeat Interval //