summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-05-22 21:59:20 +1000
committerJed Barber <jjbarber@y7mail.com>2017-05-22 21:59:20 +1000
commitd20c52da6cf4d437d6445ae6fdfeb00d694049cf (patch)
tree18d08571ddcacf2c2ab76e9a3de8fa9694c8cec7 /src
parentbc87503ae6879d76c579828f2f90de0383239373 (diff)
Fixed Handle/Draw Hook mixup bug in Button Widget
Diffstat (limited to 'src')
-rw-r--r--src/fltk-widgets-buttons.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fltk-widgets-buttons.adb b/src/fltk-widgets-buttons.adb
index 15e4982..b28449f 100644
--- a/src/fltk-widgets-buttons.adb
+++ b/src/fltk-widgets-buttons.adb
@@ -86,7 +86,7 @@ package body FLTK.Widgets.Buttons is
(This.Void_Ptr,
Widget_Convert.To_Address (This'Unchecked_Access));
button_set_draw_hook (This.Void_Ptr, Draw_Hook'Address);
- button_set_handle_hook (This.Void_Ptr, Draw_Hook'Address);
+ button_set_handle_hook (This.Void_Ptr, Handle_Hook'Address);
end return;
end Create;