X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_playlist.cc;h=04950028af6dcfaec08a5ed663ebe4fb4f1391eb;hb=47e29203daec51d313ed8ab8ef759752bce18d45;hp=e2e9d4ebe54f18f3022184f3e3cf26c3d647a63c;hpb=048c84a9a0bdcad6fbd487bacb3ed57765d956c5;p=dcpomatic.git diff --git a/src/tools/dcpomatic_playlist.cc b/src/tools/dcpomatic_playlist.cc index e2e9d4ebe..04950028a 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); @@ -453,6 +453,7 @@ public: explicit DOMFrame (wxString const & title) : wxFrame (0, -1, title) , _content_dialog (new ContentDialog(this)) + , _config_dialog (0) { wxMenuBar* bar = new wxMenuBar; setup_menu (bar); @@ -573,7 +574,8 @@ private: bool OnInit () try { - SetAppName (_("DCP-o-matic KDM Creator")); + wxInitAllImageHandlers (); + SetAppName (_("DCP-o-matic Playlist Editor")); if (!wxApp::OnInit()) { return false;