diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-06-06 12:57:45 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-06-06 12:57:45 +0200 |
| commit | f26f3ee5791440776e847ac96bad4ebeb83055a6 (patch) | |
| tree | 7e3d5c6b48ffa03e21131fe439170838c0e92d33 /src | |
| parent | cf9e7b9d0fb2545139dbd9bdc4c3313e7312ac66 (diff) | |
Cleanup: use bitmap_path().
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
