changeset 1302:5fbf384780d1

Simplified the DWStepper class a bit on Mac... although it really needs rewriting.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 03 Nov 2011 02:01:56 +0000
parents 7527fb644bc0
children ca02c24e80c9
files mac/dw.m
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Thu Nov 03 01:19:17 2011 +0000
+++ b/mac/dw.m	Thu Nov 03 02:01:56 2011 +0000
@@ -2150,10 +2150,7 @@
 {
     [super mouseDown:event];
     if([[NSApp currentEvent] type] == NSLeftMouseUp)
-    {
-        [textfield takeIntValueFrom:self];
-        _event_handler(parent, (void *)[self integerValue], 14);
-    }
+        [self mouseUp:event];
 }
 -(void)mouseUp:(NSEvent *)event
 {