summaryrefslogtreecommitdiff
path: root/src/wx/id.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-11 22:50:29 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-11 22:50:29 +0100
commit80c463b76284aa87f892fb331877c2caf5cc2771 (patch)
tree3d278e61e102260dccd8c6a75f21b46d85c78151 /src/wx/id.h
parentfb415933fc53d55f25b46d00065fc39ffda43eb4 (diff)
Attempt to rationalise menu IDs and avoid duplicates.
Diffstat (limited to 'src/wx/id.h')
-rw-r--r--src/wx/id.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/wx/id.h b/src/wx/id.h
new file mode 100644
index 000000000..99aa25855
--- /dev/null
+++ b/src/wx/id.h
@@ -0,0 +1,27 @@
+/*
+ Copyright (C) 2024 Carl Hetherington <cth@carlh.net>
+
+ This file is part of DCP-o-matic.
+
+ DCP-o-matic is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ DCP-o-matic is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
+#define DCPOMATIC_MARKERS_PANEL_MENU wxID_HIGHEST
+#define DCPOMATIC_MAIN_MENU (wxID_HIGHEST + 500)
+#define DCPOMATIC_CPL_MENU (wxID_HIGHEST + 1000)
+#define DCPOMATIC_CONTENT_MENU (wxID_HIGHEST + 1500)
+#define DCPOMATIC_AUDIO_GAIN_MENU (wxID_HIGHEST + 2000)
+