From: Carl Hetherington Date: Mon, 22 Jul 2019 14:23:02 +0000 (+0100) Subject: Add some stubs so that swaroop variants build on OS X. X-Git-Tag: v2.15.15~18 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;ds=inline;h=97e09167704be4fce214c95ad48eacc1ff21f3b8;p=dcpomatic.git Add some stubs so that swaroop variants build on OS X. --- diff --git a/src/wx/player_config_dialog.cc b/src/wx/player_config_dialog.cc index 61b278a59..c1765eccb 100644 --- a/src/wx/player_config_dialog.cc +++ b/src/wx/player_config_dialog.cc @@ -396,6 +396,14 @@ public: return _("Watermark"); } +#ifdef DCPOMATIC_OSX + wxBitmap GetLargeIcon () const + { + /* XXX: this icon doesn't exist; this is just to make the swaroop variant build on OS X */ + return wxBitmap ("watermark", wxBITMAP_TYPE_PNG_RESOURCE); + } +#endif + private: void setup () { @@ -468,6 +476,14 @@ public: return _("Devices"); } +#ifdef DCPOMATIC_OSX + wxBitmap GetLargeIcon () const + { + /* XXX: this icon doesn't exist; this is just to make the swaroop variant build on OS X */ + return wxBitmap ("devices", wxBITMAP_TYPE_PNG_RESOURCE); + } +#endif + private: void setup () {