Mercurial > dwindows
changeset 1807:d7447c814f8b
Fix for selecting radio buttons with the keyboard on Mac.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 05 Oct 2012 20:23:29 +0000 |
parents | eecf0eb609d8 |
children | f3458cd6277c |
files | mac/dw.m |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mac/dw.m Fri Oct 05 20:17:14 2012 +0000 +++ b/mac/dw.m Fri Oct 05 20:23:29 2012 +0000 @@ -1031,6 +1031,8 @@ { if(buttonType == NSSwitchButton) [self setState:([self state] ? NSOffState : NSOnState)]; + else if(buttonType == NSRadioButton) + [self setState:NSOnState]; [self buttonClicked:self]; } else