From 5c7ad00e07d3ace16d1248d662e5672ef0648743 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 19 Oct 2023 14:22:58 +0200 Subject: Improve Fl_Grid example code Add 'grid->end();' although it's redundant in this specific example. --- examples/grid-simple.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') diff --git a/examples/grid-simple.cxx b/examples/grid-simple.cxx index f08a5957b..5641f840c 100644 --- a/examples/grid-simple.cxx +++ b/examples/grid-simple.cxx @@ -41,6 +41,7 @@ int main(int argc, char **argv) { grid->widget(b4, 2, 0); grid->widget(b6, 2, 2); // grid->show_grid(1); // enable to display grid helper lines + grid->end(); win->end(); win->resizable(grid); win->size_range(300, 100); -- cgit v1.2.3