From c2ca17b2891c411c2f544647554bb979bbfa45c9 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 24 Feb 2019 11:00:58 +0100 Subject: Allow to call Fl_Sys_Menu_Bar::about() early in the program. --- src/Fl_Sys_Menu_Bar.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Fl_Sys_Menu_Bar.cxx b/src/Fl_Sys_Menu_Bar.cxx index c93f26b2e..f207b8f38 100644 --- a/src/Fl_Sys_Menu_Bar.cxx +++ b/src/Fl_Sys_Menu_Bar.cxx @@ -166,6 +166,7 @@ void Fl_Sys_Menu_Bar::replace(int index, const char *name) \param data a pointer transmitted as 2nd argument to the callback. */ void Fl_Sys_Menu_Bar::about(Fl_Callback *cb, void *data) { + fl_open_display(); // create the system menu, if needed driver()->about(cb, data); } -- cgit v1.2.3