Documentation: Improve doc comment for ~Fl_Group

This commit is contained in:
Kyriet 2023-12-10 19:19:39 +01:00 committed by Albrecht Schlosser
parent 861bc339c0
commit 5e3681c22a

View File

@ -438,8 +438,8 @@ void Fl_Group::clear() {
If you add static or automatic (local) variables to an Fl_Group, then it
is your responsibility to remove (or delete) all such static or automatic
child widgets \e \b before destroying the group - otherwise the child
widgets' destructors would be called twice!
child widgets \e \b before destroying the group - otherwise the group will
attempt to call delete operator on them leading to undefined behavior!
*/
Fl_Group::~Fl_Group() {
if (current_ == this)