From 97e09167704be4fce214c95ad48eacc1ff21f3b8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 22 Jul 2019 15:23:02 +0100 Subject: [PATCH] Add some stubs so that swaroop variants build on OS X. --- src/wx/player_config_dialog.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 () { -- 2.30.2