diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-11 22:50:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-11 22:50:29 +0100 |
| commit | 80c463b76284aa87f892fb331877c2caf5cc2771 (patch) | |
| tree | 3d278e61e102260dccd8c6a75f21b46d85c78151 /src/tools/dcpomatic_player.cc | |
| parent | fb415933fc53d55f25b46d00065fc39ffda43eb4 (diff) | |
Attempt to rationalise menu IDs and avoid duplicates.
Diffstat (limited to 'src/tools/dcpomatic_player.cc')
| -rw-r--r-- | src/tools/dcpomatic_player.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index 301e893ff..feac2a915 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -21,6 +21,7 @@ #include "wx/about_dialog.h" #include "wx/file_dialog.h" #include "wx/film_viewer.h" +#include "wx/id.h" #include "wx/nag_dialog.h" #include "wx/player_config_dialog.h" #include "wx/player_information.h" @@ -119,16 +120,16 @@ using namespace dcpomatic; enum { - ID_file_open = 1, + ID_file_open = DCPOMATIC_MAIN_MENU, ID_file_add_ov, ID_file_add_kdm, ID_file_save_frame, ID_file_history, /* Allow spare IDs after _history for the recent files list */ - ID_file_close = 100, + ID_file_close = DCPOMATIC_MAIN_MENU + 100, ID_view_cpl, /* Allow spare IDs for CPLs */ - ID_view_full_screen = 200, + ID_view_full_screen = DCPOMATIC_MAIN_MENU + 200, ID_view_dual_screen, ID_view_closed_captions, ID_view_scale_appropriate, |
