summaryrefslogtreecommitdiff
path: root/FL/names.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-07-21 13:19:00 +0200
committerMatthias Melcher <github@matthiasm.com>2024-07-26 18:00:25 +0200
commit8cffbd694106a2371d297caa008f2290185fed2f (patch)
tree52eaa856bc85c87a34ade06d36f3fd4f010169e3 /FL/names.h
parentb740c48ee8505f93662065384d84b449d5e33438 (diff)
Adds the FL_AUTO_DELETE_EVENT to suppress auto delete.
Language wrappers can have major issues with FLTK auto deleting all children of a group if a group is deleted. This event gives individual widget the opportunity to override auto delete.
Diffstat (limited to 'FL/names.h')
-rw-r--r--FL/names.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/FL/names.h b/FL/names.h
index 15a491f84..4f90c3ec1 100644
--- a/FL/names.h
+++ b/FL/names.h
@@ -73,9 +73,10 @@ const char * const fl_eventnames[] =
"FL_FULLSCREEN",
"FL_ZOOM_GESTURE",
"FL_ZOOM_EVENT",
- "FL_EVENT_28", // not yet defined, just in case it /will/ be defined ...
+ "FL_AUTO_DELETE_EVENT",
"FL_EVENT_29", // not yet defined, just in case it /will/ be defined ...
- "FL_EVENT_30" // not yet defined, just in case it /will/ be defined ...
+ "FL_EVENT_30", // not yet defined, just in case it /will/ be defined ...
+ "FL_EVENT_31" // not yet defined, just in case it /will/ be defined ...
};
/**