X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcheck_box.h;h=65952040aba803bc32a02a82beec353faa08f769;hb=b9a1ad3df5f9d85fb7439efd93fede72b9b078af;hp=ff47bc5248d5805d9e2a45b2f642607e033c3f0e;hpb=9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94;p=dcpomatic.git diff --git a/src/wx/check_box.h b/src/wx/check_box.h index ff47bc524..65952040a 100644 --- a/src/wx/check_box.h +++ b/src/wx/check_box.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2018 Carl Hetherington + Copyright (C) 2018-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,19 +18,26 @@ */ + #ifndef DCPOMATIC_CHECK_BOX_H #define DCPOMATIC_CHECK_BOX_H + #include "i18n_hook.h" +#include "lib/warnings.h" +DCPOMATIC_DISABLE_WARNINGS #include +DCPOMATIC_ENABLE_WARNINGS + 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