Add option to give HTMLDialog an OK button.
[dcpomatic.git] / src / wx / html_dialog.h
index f5fc76e4f67eced0a9f1c8b590d4de5187eb9c3a..c5a538a5ccb03b3bdc59d908339786d7762b24cb 100644 (file)
@@ -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.
 
 
 */
 
+
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
+
 
 class wxHtmlLinkEvent;
 
+
 class HTMLDialog : public wxDialog
 {
 public:
-       HTMLDialog (wxWindow* parent, wxString title, wxString html);
+       HTMLDialog (wxWindow* parent, wxString title, wxString html, bool ok = false);
 
 private:
        void link_clicked (wxHtmlLinkEvent& ev);