diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-02-24 11:00:58 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-02-24 11:00:58 +0100 |
| commit | c2ca17b2891c411c2f544647554bb979bbfa45c9 (patch) | |
| tree | 3b48e7cc7945876d032de880d1794de3261af51b /src/Fl_Sys_Menu_Bar.cxx | |
| parent | 6838814f9e6433fc93ff73f4415fe30bbd7ed326 (diff) | |
Allow to call Fl_Sys_Menu_Bar::about() early in the program.
Diffstat (limited to 'src/Fl_Sys_Menu_Bar.cxx')
| -rw-r--r-- | src/Fl_Sys_Menu_Bar.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |
