From a05ae33e20b09ab952ddbbf6762d5cfec77e4943 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 2 Jul 2025 16:16:48 +0200 Subject: Remove deprecated methods and functions In FLTK 1.5 we remove most (but not all) methods and functions that were deprecated in FLTK 1.3 or earlier. --- src/Fl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl.cxx') diff --git a/src/Fl.cxx b/src/Fl.cxx index b1c38caf6..818efe39d 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,7 +1,7 @@ // // Main event handling code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2024 by Bill Spitzak and others. +// Copyright 1998-2025 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -1800,7 +1800,7 @@ static Fl_Widget **dwidgets = 0; To avoid early deletion of widgets, this function should be called toward the end of a callback and only after any call to the event - loop (Fl::wait(), Fl::flush(), Fl::check(), fl_ask(), etc.). + loop (Fl::wait(), Fl::flush(), Fl::check(), fl_choice(), etc.). When deleting groups or windows, you must only delete the group or window widget and not the individual child widgets. -- cgit v1.2.3