From 8826dca1066361b474139bcc5aeed2e3a5246ed0 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 5 Jan 2023 13:51:30 +0100 Subject: Add close buttons for individual tabs in Fl_Tabs (#628) Add close buttons for Fl_Tabs Introducing callback reasons FLUID shows all FL_WHEN_... options Adding Fl_Tabs overflow types Improved test/tabs to show new features --- fluid/CodeEditor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fluid/CodeEditor.cxx') diff --git a/fluid/CodeEditor.cxx b/fluid/CodeEditor.cxx index d4b4dee91..40fe667fc 100644 --- a/fluid/CodeEditor.cxx +++ b/fluid/CodeEditor.cxx @@ -197,7 +197,7 @@ int CodeEditor::auto_indent(int, CodeEditor* e) { } e->show_insert_position(); e->set_changed(); - if (e->when()&FL_WHEN_CHANGED) e->do_callback(); + if (e->when()&FL_WHEN_CHANGED) e->do_callback(FL_REASON_CHANGED); free(text); -- cgit v1.2.3