summaryrefslogtreecommitdiff
path: root/src/wx/dcpomatic_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/dcpomatic_button.h')
-rw-r--r--src/wx/dcpomatic_button.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/dcpomatic_button.h b/src/wx/dcpomatic_button.h
index aba41b125..7e0e01dc2 100644
--- a/src/wx/dcpomatic_button.h
+++ b/src/wx/dcpomatic_button.h
@@ -18,11 +18,17 @@
*/
+
#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