From 8472df82d0c4389eff9f1849dd91eb7c3a413920 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 5 Sep 2025 09:25:59 +0200 Subject: Remove use of deprecated member function Fl_Menu_Item::setonly() --- src/Fl_cocoa.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index ccafa20d5..13d536c6f 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -1474,8 +1474,7 @@ static FLWindowDelegate *flwindowdelegate_instance = nil; if (!item->label()) break; if (item->user_data() == window) { if (!item->value()) { - item->setonly(); - fl_sys_menu_bar->update(); + Fl_MacOS_Sys_Menu_Bar_Driver::driver()->setonly(item); } break; } -- cgit v1.2.3