summaryrefslogtreecommitdiff
path: root/spinbox_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-31 19:57:48 -0400
committerPietro Gagliardi <[email protected]>2014-10-31 19:57:48 -0400
commit7c96841392d64e611d1d99f1c5a241b92e95f4d3 (patch)
tree485118c7fb8c6300deed6fe7660ca04993916614 /spinbox_darwin.m
parent68af61435e793337276119f4795fd4c3e537d691 (diff)
Added Spinbox.OnChanged() and implemented it on GTK+ and Mac OS X. Implementing it on Windows is going to be a pain...
Diffstat (limited to 'spinbox_darwin.m')
-rw-r--r--spinbox_darwin.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/spinbox_darwin.m b/spinbox_darwin.m
index 9693669..fddfbfd 100644
--- a/spinbox_darwin.m
+++ b/spinbox_darwin.m
@@ -84,11 +84,13 @@
- (IBAction)stepperClicked:(id)sender
{
[self setValue:[self->stepper integerValue]];
+ spinboxChanged(self->gospinbox);
}
- (void)controlTextDidChange:(NSNotification *)note
{
[self setValue:[self->textfield integerValue]];
+ spinboxChanged(self->gospinbox);
}
@end