projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable warnings around all wx includes.
[dcpomatic.git]
/
src
/
wx
/
dcpomatic_button.h
diff --git
a/src/wx/dcpomatic_button.h
b/src/wx/dcpomatic_button.h
index aba41b12562908ecadc3bda3a283183e7ec1ddb8..7e0e01dc2746da41dc5190023ce5a9816e54c2ab 100644
(file)
--- a/
src/wx/dcpomatic_button.h
+++ b/
src/wx/dcpomatic_button.h
@@
-18,11
+18,17
@@
*/
*/
+
#ifndef DCPOMATIC_BUTTON_H
#define DCPOMATIC_BUTTON_H
#ifndef DCPOMATIC_BUTTON_H
#define DCPOMATIC_BUTTON_H
+
#include "i18n_hook.h"
#include "i18n_hook.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/button.h>
#include <wx/button.h>
+DCPOMATIC_ENABLE_WARNINGS
+
class Button : public wxButton, public I18NHook
{
class Button : public wxButton, public I18NHook
{
@@
-33,4
+39,5
@@
public:
wxString get_text () const override;
};
wxString get_text () const override;
};
+
#endif
#endif