Fix failure to update peak on changing gain (#2286).
[dcpomatic.git] / src / wx / kdm_choice.h
index 3f2bcdfe019f0302f08f6d3eabd5b00b31d829bc..11b0b631490e3251022c5c08a73973d6a9f554ee 100644 (file)
 
 
 #include <dcp/types.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
 
 
 class KDMChoice : public wxChoice
@@ -29,5 +32,9 @@ public:
        KDMChoice (wxWindow* parent);
 
        dcp::Formulation get () const;
+       void set (dcp::Formulation type);
+
+private:
+       dcp::Formulation get_formulation (unsigned int n) const;
 };