summaryrefslogtreecommitdiff
path: root/src/wx/dcpomatic_button.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-21 21:35:10 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-21 23:48:16 +0200
commitb9a1ad3df5f9d85fb7439efd93fede72b9b078af (patch)
tree09ff7b918f29098f6e9c52ce79aad64f8d5ada6d /src/wx/dcpomatic_button.h
parent313319ba2d8544bc25524e02e634804a503b54f1 (diff)
Disable warnings around all wx includes.
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