From: Carl Hetherington Date: Sun, 6 Jun 2021 10:57:45 +0000 (+0200) Subject: Cleanup: use bitmap_path(). X-Git-Tag: v2.15.155~28 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;ds=inline;h=f26f3ee5791440776e847ac96bad4ebeb83055a6;p=dcpomatic.git Cleanup: use bitmap_path(). --- diff --git a/src/tools/dcpomatic_server.cc b/src/tools/dcpomatic_server.cc index 4039a07ed..be0f05ea1 100644 --- a/src/tools/dcpomatic_server.cc +++ b/src/tools/dcpomatic_server.cc @@ -217,7 +217,7 @@ public: #ifdef DCPOMATIC_WINDOWS wxIcon icon (std_to_wx ("id")); #else - wxBitmap bitmap (wxString::Format(wxT("%s/dcpomatic_small.png"), std_to_wx(resources_path().string())), wxBITMAP_TYPE_PNG); + wxBitmap bitmap (bitmap_path("dcpomatic_small"), wxBITMAP_TYPE_PNG); wxIcon icon; icon.CopyFromBitmap (bitmap); #endif