Fix confusing black padding in GUI dark mode (#2053).
[dcpomatic.git] / src / wx / templates_dialog.h
index 0395739329d56a9936708843719d8691b265a358..119eb42cf0d38fd400f534d3f78f8de26d68adc6 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2016-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
 #include <wx/listctrl.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/signals2.hpp>
 
+
 class TemplatesDialog : public wxDialog
 {
 public:
-       TemplatesDialog (wxWindow* parent);
+       explicit TemplatesDialog (wxWindow* parent);
 
        void refresh ();
        void layout ();