summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-07-22 15:23:02 +0100
committerCarl Hetherington <cth@carlh.net>2019-07-22 15:23:02 +0100
commit97e09167704be4fce214c95ad48eacc1ff21f3b8 (patch)
treee8cd437b063c73251c7cb501d4e5f32fb2c22387 /src
parentac0bf0eee05f1c82e0bd19cdcae14c9bc51aeca9 (diff)
Add some stubs so that swaroop variants build on OS X.
Diffstat (limited to 'src')
-rw-r--r--src/wx/player_config_dialog.cc16
1 files changed, 16 insertions, 0 deletions
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 ()
{