Disable warnings around all wx includes.
[dcpomatic.git] / src / wx / dcpomatic_button.h
index aba41b12562908ecadc3bda3a283183e7ec1ddb8..7e0e01dc2746da41dc5190023ce5a9816e54c2ab 100644 (file)
 
 */
 
+
 #ifndef DCPOMATIC_BUTTON_H
 #define DCPOMATIC_BUTTON_H
 
+
 #include "i18n_hook.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/button.h>
+DCPOMATIC_ENABLE_WARNINGS
+
 
 class Button : public wxButton, public I18NHook
 {
@@ -33,4 +39,5 @@ public:
        wxString get_text () const override;
 };
 
+
 #endif