Fix typo in log message.
[dcpomatic.git] / src / wx / dcpomatic_button.h
index 682fa5fe67e91ae783f0e714f4742322917d0d4e..902c856668ae2c1b900aafafa664c31a015855d7 100644 (file)
 
 */
 
+
 #ifndef DCPOMATIC_BUTTON_H
 #define DCPOMATIC_BUTTON_H
 
+
 #include "i18n_hook.h"
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/button.h>
+LIBDCP_ENABLE_WARNINGS
+
 
 class Button : public wxButton, public I18NHook
 {
 public:
        Button (wxWindow* parent, wxString label, wxPoint pos = wxDefaultPosition, wxSize = wxDefaultSize, long style = 0);
 
-       void set_text (wxString text);
-       wxString get_text () const;
+       void set_text (wxString text) override;
+       wxString get_text () const override;
 };
 
+
 #endif