From: Carl Hetherington Date: Thu, 7 Jul 2022 13:20:34 +0000 (+0200) Subject: Use bitmap_path to find me.jpeg X-Git-Tag: v2.16.19~7 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=eab577b950069b6a22034c22e67b7cc16753cbd8 Use bitmap_path to find me.jpeg --- diff --git a/src/wx/html_dialog.cc b/src/wx/html_dialog.cc index 824d4fabc..59bc8a3e8 100644 --- a/src/wx/html_dialog.cc +++ b/src/wx/html_dialog.cc @@ -45,7 +45,7 @@ HTMLDialog::HTMLDialog (wxWindow* parent, wxString title, wxString html) /* Add some resources that are used by HTML passed into this dialog */ wxMemoryFSHandler::AddFile( "me.jpg", - wxBitmap(std_to_wx(boost::filesystem::path(resources_path() / "me.jpg").string()), wxBITMAP_TYPE_JPEG), wxBITMAP_TYPE_JPEG + wxBitmap(bitmap_path("me.jpg"), wxBITMAP_TYPE_JPEG), wxBITMAP_TYPE_JPEG ); auto h = new wxHtmlWindow (this);