From 9e14cd0b1ff1d30f027fbd1351bd2a94b7e119d9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 16 Jan 2017 21:15:09 +0000 Subject: Incorporate new icon by Julian van Mil for main DCP-o-matic. --- src/tools/dcpomatic.cc | 4 ++++ src/tools/dcpomatic_server.cc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 097b7905a..972436c47 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -210,6 +210,10 @@ public: setup_menu (bar); SetMenuBar (bar); +#ifdef DCPOMATIC_WINDOWS + SetIcon (wxIcon (std_to_wx ("id"))); +#endif + _config_changed_connection = Config::instance()->Changed.connect (boost::bind (&DOMFrame::config_changed, this)); config_changed (); diff --git a/src/tools/dcpomatic_server.cc b/src/tools/dcpomatic_server.cc index cd09aebf8..aff98912f 100644 --- a/src/tools/dcpomatic_server.cc +++ b/src/tools/dcpomatic_server.cc @@ -205,10 +205,10 @@ public: : _status (0) { #ifdef DCPOMATIC_WINDOWS - wxIcon icon (std_to_wx ("taskbar_icon")); + wxIcon icon (std_to_wx ("id")); #else wxInitAllImageHandlers(); - wxBitmap bitmap (wxString::Format (wxT ("%s/dcpomatic2_server_small.png"), std_to_wx (shared_path().string())), wxBITMAP_TYPE_PNG); + wxBitmap bitmap (wxString::Format (wxT ("%s/dcpomatic2.png"), std_to_wx (shared_path().string())), wxBITMAP_TYPE_PNG); wxIcon icon; icon.CopyFromBitmap (bitmap); #endif -- cgit v1.2.3