diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_server.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_server.cc b/src/tools/dcpomatic_server.cc index 9c4832138..dc640ff03 100644 --- a/src/tools/dcpomatic_server.cc +++ b/src/tools/dcpomatic_server.cc @@ -210,7 +210,13 @@ public: TaskBarIcon () : _status (0) { +#ifdef DCPOMATIC_WINDOWS wxIcon icon (std_to_wx ("id")); +#else + wxBitmap bitmap (wxString::Format (wxT ("%s/dcpomatic_small.png"), std_to_wx (shared_path().string())), wxBITMAP_TYPE_PNG); + wxIcon icon; + icon.CopyFromBitmap (bitmap); +#endif SetIcon (icon, std_to_wx ("DCP-o-matic Encode Server")); @@ -286,7 +292,7 @@ private: */ Config::instance(); -#if defined(DCPOMATIC_LINUX) || defined(DCPOMATIC_OSX) +#ifdef DCPOMATIC_LINUX StatusDialog* d = new StatusDialog (); d->Show (); #else |
