Tweak background colour of nag in dark mode.
authorCarl Hetherington <cth@carlh.net>
Mon, 15 Jul 2024 18:00:08 +0000 (20:00 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 15 Jul 2024 18:00:57 +0000 (20:00 +0200)
src/wx/html_dialog.cc

index c8138c8cd51cf65b7ca7ac06b9827f32ed4d816a..0f8fe22c16ff43f7b7df3449f8202b5f22aea2b1 100644 (file)
@@ -53,7 +53,7 @@ HTMLDialog::HTMLDialog (wxWindow* parent, wxString title, wxString html, bool ok
        sizer->Add (h, 1, wxEXPAND | wxALL, 6);
 
        if (gui_is_dark()) {
-               h->SetHTMLBackgroundColour(*wxBLACK);
+               h->SetHTMLBackgroundColour(wxColour(50, 50, 50));
        }
 
        h->Bind (wxEVT_HTML_LINK_CLICKED, boost::bind(&HTMLDialog::link_clicked, this, _1));