projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
439b5d7
)
Use bitmap_path to find me.jpeg
author
Carl Hetherington
<cth@carlh.net>
Thu, 7 Jul 2022 13:20:34 +0000
(15:20 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 20 Jul 2022 08:25:54 +0000
(10:25 +0200)
src/wx/html_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/html_dialog.cc
b/src/wx/html_dialog.cc
index 824d4fabcea713f676631eee32f7ed04febbee0f..59bc8a3e8fe2b3ee896b7e1393764e90c83644f5 100644
(file)
--- 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",
/* 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);
);
auto h = new wxHtmlWindow (this);