diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-04 21:26:03 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-05 23:52:03 +0200 |
| commit | f5bd787fb71466a6187050086b2890b9b0ac9294 (patch) | |
| tree | 816de528eccb8fd252910647ffa2138d65c34468 /src/wx/wx_util.h | |
| parent | 8afad10c394462c66f68ac00698da38c5b0b8721 (diff) | |
Tidy up code to report failures to load config in the UI.
Diffstat (limited to 'src/wx/wx_util.h')
| -rw-r--r-- | src/wx/wx_util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index 14f203688..fb1a3a001 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -28,6 +28,7 @@ #define DCPOMATIC_WX_UTIL_H +#include "lib/config.h" #include "lib/dcpomatic_time.h" #include <dcp/warnings.h> LIBDCP_DISABLE_WARNINGS @@ -122,7 +123,7 @@ extern wxSize small_button_size (wxWindow* parent, wxString text); extern bool gui_is_dark (); extern double dpi_scale_factor (wxWindow* window); extern int search_ctrl_height (); - +extern void report_config_load_failure(wxWindow* parent, Config::LoadFailure what); struct Offset { |
