From 11c42754bb92872dd78f335b36f71c9e4d62457d Mon Sep 17 00:00:00 2001 From: Mohammed Alyousef Date: Wed, 17 Jan 2024 14:10:14 +0300 Subject: [PATCH] fix make_delegate --- fltk-webview-sys/src/cocoa_helper.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fltk-webview-sys/src/cocoa_helper.m b/fltk-webview-sys/src/cocoa_helper.m index e935229..1c5c259 100644 --- a/fltk-webview-sys/src/cocoa_helper.m +++ b/fltk-webview-sys/src/cocoa_helper.m @@ -56,7 +56,7 @@ void add_nsmenu(bool val) { } } -void make_delegate(NSWindow *child, NSWindow *parent, add_menu: int) { +void make_delegate(NSWindow *child, NSWindow *parent, int add_menu) { [parent setDelegate:(id)child]; [child orderWindow:NSWindowAbove relativeTo:[parent windowNumber]]; Method old_method =