diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-05-22 21:59:20 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-05-22 21:59:20 +1000 |
commit | d20c52da6cf4d437d6445ae6fdfeb00d694049cf (patch) | |
tree | 18d08571ddcacf2c2ab76e9a3de8fa9694c8cec7 | |
parent | bc87503ae6879d76c579828f2f90de0383239373 (diff) |
Fixed Handle/Draw Hook mixup bug in Button Widget
-rw-r--r-- | src/fltk-widgets-buttons.adb | 2 |
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; |