Add option to give HTMLDialog an OK button.
[dcpomatic.git] / src / wx / html_dialog.h
index 2b6924179b8c8252cad5d63cfa3f35477e287e89..c5a538a5ccb03b3bdc59d908339786d7762b24cb 100644 (file)
 */
 
 
-#include "lib/warnings.h"
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 
 
 class wxHtmlLinkEvent;
@@ -31,7 +31,7 @@ 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);