X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fhtml_dialog.cc;h=978330187f13fe4c40c6d64a5aaf938a2149167d;hp=57038f77f6d533301bd77450c4b157b141cb40a6;hb=e3c78ffdb5e562841e86e6f59a20494159c44de7;hpb=4c804a0d92ebd03b70bfc7f736fcaf5f77cb3bb7 diff --git a/src/wx/html_dialog.cc b/src/wx/html_dialog.cc index 57038f77f..978330187 100644 --- a/src/wx/html_dialog.cc +++ b/src/wx/html_dialog.cc @@ -43,7 +43,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(shared_path() / "me.jpg").string()), wxBITMAP_TYPE_JPEG), wxBITMAP_TYPE_JPEG + wxBitmap(std_to_wx(boost::filesystem::path(resources_path() / "me.jpg").string()), wxBITMAP_TYPE_JPEG), wxBITMAP_TYPE_JPEG ); wxHtmlWindow* h = new wxHtmlWindow (this);