summaryrefslogtreecommitdiff
path: root/src/Fl_Menu_.cxx
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 16:24:45 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 16:24:45 +0500
commitcdf2832347b8fdf0389cd373c2ead0ac5d071037 (patch)
tree96f9771aed0710899aa6cbba2a84dadfe76e996e /src/Fl_Menu_.cxx
parentdb214d1145e46d527a46d1fc2519548d2c4d23f1 (diff)
wip
Diffstat (limited to 'src/Fl_Menu_.cxx')
-rw-r--r--src/Fl_Menu_.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Menu_.cxx b/src/Fl_Menu_.cxx
index 0d10ef01c..bce89ef39 100644
--- a/src/Fl_Menu_.cxx
+++ b/src/Fl_Menu_.cxx
@@ -464,7 +464,7 @@ void Fl_Menu_::setonly(Fl_Menu_Item* item) {
/**
\deprecated Please use Fl_Menu_Item::setonly(Fl_Menu_Item const* first) instead.
*/
-void Fl_Menu_Item::setonly() { setonly(nullptr); }
+void Fl_Menu_Item::setonly() { setonly(0); }
/** Turns the radio item "on" for the menu item and turns "off" adjacent radio items set.