summaryrefslogtreecommitdiff
path: root/src/wx/wx_help.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-06-11 00:52:54 +0200
committerCarl Hetherington <cth@carlh.net>2020-06-20 20:09:15 +0200
commit139ff6da36d112609e0b33b79389429f93c3c1e0 (patch)
tree9b0b83b89d2be69cccb0d26b04597ac07271a10f /src/wx/wx_help.cc
parent35ff853af0d0a12697a761d9d980f46baf2000af (diff)
fixup! First hacks on OOBE help.help
Diffstat (limited to 'src/wx/wx_help.cc')
-rw-r--r--src/wx/wx_help.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/wx_help.cc b/src/wx/wx_help.cc
index 529977c96..552043747 100644
--- a/src/wx/wx_help.cc
+++ b/src/wx/wx_help.cc
@@ -61,7 +61,8 @@ HelpGUI::show (int index)
}
Message const& m = _messages[index];
- wxBitmap bitmap (bitmap_path("help/" + m.id));
+ boost::filesystem::path path = bitmap_directory() / "help" / String::compose("%1.png", m.id);
+ wxBitmap bitmap (std_to_wx(path.string()));
wxPoint pos;
if (m.anchor_point) {
pos = *m.anchor_point;