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_editor.cc | |
| parent | fb415933fc53d55f25b46d00065fc39ffda43eb4 (diff) | |
Attempt to rationalise menu IDs and avoid duplicates.
Diffstat (limited to 'src/tools/dcpomatic_editor.cc')
| -rw-r--r-- | src/tools/dcpomatic_editor.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_editor.cc b/src/tools/dcpomatic_editor.cc index eb968b1e8..14ff6da7f 100644 --- a/src/tools/dcpomatic_editor.cc +++ b/src/tools/dcpomatic_editor.cc @@ -21,6 +21,7 @@ #include "wx/about_dialog.h" #include "wx/editable_list.h" +#include "wx/id.h" #include "wx/wx_signal_manager.h" #include "wx/wx_util.h" #include "lib/constants.h" @@ -59,7 +60,7 @@ using namespace boost::placeholders; enum { - ID_file_open = 1, + ID_file_open = DCPOMATIC_MAIN_MENU, ID_file_save, }; |
