diff options
Diffstat (limited to 'src/wx/wx_help.cc')
| -rw-r--r-- | src/wx/wx_help.cc | 3 |
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; |
