Add comment about AudioDialog.
[dcpomatic.git] / src / wx / audio_mapping_view.cc
index ef4434fd5ab9065d5fdd615815fdbb9d6f8a601c..188bf57cf53823bfc8e08db102b8929ef19ddd92 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "audio_gain_dialog.h"
 #include "audio_mapping_view.h"
-#include "wx_ptr.h"
+#include "id.h"
 #include "wx_util.h"
 #include "lib/audio_mapping.h"
 #include "lib/maths_util.h"
@@ -61,15 +61,14 @@ static constexpr auto ROW_HEIGHT = 32;
 static constexpr auto MINIMUM_COLUMN_WIDTH = 32;
 static constexpr auto TOP_HEIGHT = ROW_HEIGHT * 2;
 static constexpr auto COLUMN_PADDING = 16;
-static constexpr auto HORIZONTAL_PAGE_SIZE = 32;
 
 
 enum {
-       ID_off = 1,
-       ID_minus6dB = 2,
-       ID_0dB = 3,
-       ID_plus3dB = 4,
-       ID_edit = 5
+       ID_off = DCPOMATIC_AUDIO_GAIN_MENU,
+       ID_minus6dB,
+       ID_0dB,
+       ID_plus3dB,
+       ID_edit
 };