Hide warnings triggered by Ubuntu 20.04's gcc.
[dcpomatic.git] / src / wx / audio_mapping_view.h
index 88060e461817b4bd147d9e0907b40d417547be76..e20e5289bc30901948d51a7d4b1a8a779fe8f927 100644 (file)
  *
  */
 
-#include <boost/signals2.hpp>
-#include <wx/wx.h>
 #include "lib/audio_mapping.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
+#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
+#include <boost/signals2.hpp>
 
 /** @class AudioMappingView
  *  @brief This class displays the mapping of one set of audio channels to another,
@@ -75,11 +78,11 @@ private:
        void map_values_changed ();
        void setup_sizes ();
        void paint ();
-       void paint_static (wxDC& dc, wxGraphicsContext* gc);
-       void paint_column_labels (wxDC& dc, wxGraphicsContext* gc);
-       void paint_column_lines (wxGraphicsContext* gc);
-       void paint_row_labels (wxDC& dc, wxGraphicsContext* gc);
-       void paint_row_lines (wxGraphicsContext* gc);
+       void paint_static (wxDC& dc);
+       void paint_column_labels (wxDC& dc);
+       void paint_column_lines (wxDC& dc);
+       void paint_row_labels (wxDC& dc);
+       void paint_row_lines (wxDC& dc);
        void paint_indicators (wxDC& dc);
        void size (wxSizeEvent &);
        void scroll ();