diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-03-01 19:58:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-03-01 19:58:21 +0100 |
| commit | 7016527f7fcddd545986453cf05163edc217f732 (patch) | |
| tree | eb42693273bd58f9d4f99ef92fde2cb057391d40 /src | |
| parent | 7534e2cd4b44d29f932834ba14f28f0b4c6b6d60 (diff) | |
Fix loading of tick/no_tick graphics for playlist editor on Windows.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_playlist.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_playlist.cc b/src/tools/dcpomatic_playlist.cc index e2e9d4ebe..a39aed63b 100644 --- a/src/tools/dcpomatic_playlist.cc +++ b/src/tools/dcpomatic_playlist.cc @@ -278,9 +278,9 @@ public: no_tick_icon.LoadFile ("no_tick.png", wxBITMAP_TYPE_PNG_RESOURCE); #else boost::filesystem::path tick_path = shared_path() / "tick.png"; - tick_icon.LoadFile (std_to_wx(tick_path.string())); + tick_icon.LoadFile (std_to_wx(tick_path.string()), wxBITMAP_TYPE_PNG); boost::filesystem::path no_tick_path = shared_path() / "no_tick.png"; - no_tick_icon.LoadFile (std_to_wx(no_tick_path.string())); + no_tick_icon.LoadFile (std_to_wx(no_tick_path.string()), wxBITMAP_TYPE_PNG); #endif images->Add (tick_icon); images->Add (no_tick_icon); |
