X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fwx_util.cc;h=e94f3e512acf03322be4f09032a09d0147cceb1b;hp=55de4b1c706286b9503bb868fca3cbb4439a378f;hb=439b5d7a315daf2422cb6c995110d628a91d9389;hpb=96107588e0ddf383d21ff00b4d3febb313e43794 diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 55de4b1c7..e94f3e512 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -517,7 +517,7 @@ maybe_show_splash () wxSplashScreen* splash = nullptr; try { wxBitmap bitmap; - if (bitmap.LoadFile(bitmap_path("splash"), wxBITMAP_TYPE_PNG)) { + if (bitmap.LoadFile(bitmap_path("splash.png"), wxBITMAP_TYPE_PNG)) { { /* This wxMemoryDC must be destroyed before bitmap can be used elsewhere */ wxMemoryDC dc(bitmap); @@ -646,7 +646,7 @@ bitmap_path (string name) base = resources_path(); #endif - auto p = base / String::compose("%1.png", name); + auto p = base / name; return std_to_wx (p.string()); }