diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-07 15:20:34 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-20 10:25:54 +0200 |
| commit | eab577b950069b6a22034c22e67b7cc16753cbd8 (patch) | |
| tree | 7884c6b86cd0cff69989b251193e3c6113ee797f | |
| parent | 439b5d7a315daf2422cb6c995110d628a91d9389 (diff) | |
Use bitmap_path to find me.jpeg
| -rw-r--r-- | src/wx/html_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
