projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use libdcp's warnings.h
[dcpomatic.git]
/
src
/
wx
/
check_box.h
diff --git
a/src/wx/check_box.h
b/src/wx/check_box.h
index ff47bc5248d5805d9e2a45b2f642607e033c3f0e..6e54ef4116b6cb4ca815ee792c60299c263be336 100644
(file)
--- a/
src/wx/check_box.h
+++ b/
src/wx/check_box.h
@@
-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.
This file is part of DCP-o-matic.
@@
-18,19
+18,26
@@
*/
*/
+
#ifndef DCPOMATIC_CHECK_BOX_H
#define DCPOMATIC_CHECK_BOX_H
#ifndef DCPOMATIC_CHECK_BOX_H
#define DCPOMATIC_CHECK_BOX_H
+
#include "i18n_hook.h"
#include "i18n_hook.h"
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
+
class CheckBox : public wxCheckBox, public I18NHook
{
public:
CheckBox (wxWindow* parent, wxString label);
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
#endif