Disable warnings around all wx includes.
[dcpomatic.git] / src / wx / check_box.h
index ff47bc5248d5805d9e2a45b2f642607e033c3f0e..65952040aba803bc32a02a82beec353faa08f769 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #ifndef DCPOMATIC_CHECK_BOX_H
 #define DCPOMATIC_CHECK_BOX_H
 
+
 #include "i18n_hook.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
+
 
 class CheckBox : public wxCheckBox, public I18NHook
 {
 public:
        CheckBox (wxWindow* parent, wxString label);
 
-       void set_text (wxString text);
-       wxString get_text () const;
+       void set_text (wxString text) override;
+       wxString get_text () const override;
 };
 
+
 #endif