diff options
-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; |