From 704bc0f8be05ddca94a3853a6e112f22f8f2df70 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 7 Jul 2022 15:21:04 +0200 Subject: Add option to give HTMLDialog an OK button. --- src/wx/html_dialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wx/html_dialog.h') diff --git a/src/wx/html_dialog.h b/src/wx/html_dialog.h index 1792d86ed..c5a538a5c 100644 --- a/src/wx/html_dialog.h +++ b/src/wx/html_dialog.h @@ -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); -- cgit v1.2.3