summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-21 09:23:12 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-21 22:22:18 +0200
commit1a7c50245309bb0b99001940b2203a267de942ca (patch)
tree58f5c4c820730a303d2567bc5d5fb727400c85bf /src/wx
parentdec38a44157da230e1dbd0dc3b7b0860c6859493 (diff)
macOS / new boost build fixes.v2.15.104
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/audio_plot.cc3
-rw-r--r--src/wx/closed_captions_dialog.cc3
-rw-r--r--src/wx/content_advanced_dialog.cc3
-rw-r--r--src/wx/content_menu.cc4
-rw-r--r--src/wx/controls.cc4
-rw-r--r--src/wx/dkdm_dialog.cc4
-rw-r--r--src/wx/gl_video_view.cc3
-rw-r--r--src/wx/i18n_hook.cc4
-rw-r--r--src/wx/interop_metadata_dialog.cc4
-rw-r--r--src/wx/kdm_output_panel.cc4
-rw-r--r--src/wx/language_tag_dialog.cc3
-rw-r--r--src/wx/player_config_dialog.cc3
-rw-r--r--src/wx/recipient_dialog.cc3
-rw-r--r--src/wx/simple_video_view.cc4
-rw-r--r--src/wx/smpte_metadata_dialog.cc3
-rw-r--r--src/wx/video_waveform_dialog.cc4
-rw-r--r--src/wx/video_waveform_plot.cc5
17 files changed, 61 insertions, 0 deletions
diff --git a/src/wx/audio_plot.cc b/src/wx/audio_plot.cc
index b8b14b2e6..35f2c93ad 100644
--- a/src/wx/audio_plot.cc
+++ b/src/wx/audio_plot.cc
@@ -39,6 +39,9 @@ using boost::bind;
using boost::optional;
using boost::shared_ptr;
using boost::weak_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
using namespace dcpomatic;
int const AudioPlot::_minimum = -70;
diff --git a/src/wx/closed_captions_dialog.cc b/src/wx/closed_captions_dialog.cc
index 666547d16..5522e5c4c 100644
--- a/src/wx/closed_captions_dialog.cc
+++ b/src/wx/closed_captions_dialog.cc
@@ -35,6 +35,9 @@ using std::make_pair;
using boost::shared_ptr;
using boost::weak_ptr;
using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
using namespace dcpomatic;
ClosedCaptionsDialog::ClosedCaptionsDialog (wxWindow* parent, FilmViewer* viewer)
diff --git a/src/wx/content_advanced_dialog.cc b/src/wx/content_advanced_dialog.cc
index 79e6da9fa..8ab2e8dc0 100644
--- a/src/wx/content_advanced_dialog.cc
+++ b/src/wx/content_advanced_dialog.cc
@@ -37,6 +37,9 @@ using std::vector;
using boost::bind;
using boost::dynamic_pointer_cast;
using boost::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc
index d3115ce49..3c3b1ed3a 100644
--- a/src/wx/content_menu.cc
+++ b/src/wx/content_menu.cc
@@ -54,6 +54,10 @@ using boost::shared_ptr;
using boost::weak_ptr;
using boost::dynamic_pointer_cast;
using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
+
enum {
/* Start at 256 so we can have IDs on _cpl_menu from 1 to 255 */
diff --git a/src/wx/controls.cc b/src/wx/controls.cc
index caa0dc823..86329efb3 100644
--- a/src/wx/controls.cc
+++ b/src/wx/controls.cc
@@ -52,8 +52,12 @@ using boost::optional;
using boost::shared_ptr;
using boost::weak_ptr;
using boost::dynamic_pointer_cast;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
using namespace dcpomatic;
+
Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor_controls)
: wxPanel (parent)
, _slider (new wxSlider (this, wxID_ANY, 0, 0, 4096))
diff --git a/src/wx/dkdm_dialog.cc b/src/wx/dkdm_dialog.cc
index c77123526..5b89d28fa 100644
--- a/src/wx/dkdm_dialog.cc
+++ b/src/wx/dkdm_dialog.cc
@@ -49,6 +49,10 @@ using std::runtime_error;
using boost::shared_ptr;
using boost::bind;
using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
+
DKDMDialog::DKDMDialog (wxWindow* parent, shared_ptr<const Film> film)
: wxDialog (parent, wxID_ANY, _("Make DKDMs"))
diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc
index a82d5a276..79ede0d8e 100644
--- a/src/wx/gl_video_view.cc
+++ b/src/wx/gl_video_view.cc
@@ -51,6 +51,9 @@
using std::cout;
using boost::shared_ptr;
using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
static void
diff --git a/src/wx/i18n_hook.cc b/src/wx/i18n_hook.cc
index b2cd6df8e..b2797fa51 100644
--- a/src/wx/i18n_hook.cc
+++ b/src/wx/i18n_hook.cc
@@ -27,6 +27,10 @@
using std::map;
using std::string;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
+
map<string, string> I18NHook::_translations;
diff --git a/src/wx/interop_metadata_dialog.cc b/src/wx/interop_metadata_dialog.cc
index f91bdcf7f..186e9bbcd 100644
--- a/src/wx/interop_metadata_dialog.cc
+++ b/src/wx/interop_metadata_dialog.cc
@@ -29,6 +29,10 @@ using std::string;
using std::vector;
using boost::weak_ptr;
using boost::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
+
static string
column (dcp::Rating r, int c)
diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc
index 294fdd4df..35ce4fc27 100644
--- a/src/wx/kdm_output_panel.cc
+++ b/src/wx/kdm_output_panel.cc
@@ -50,6 +50,10 @@ using std::exception;
using std::make_pair;
using boost::shared_ptr;
using boost::function;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
+
KDMOutputPanel::KDMOutputPanel (wxWindow* parent, bool interop)
: wxPanel (parent, wxID_ANY)
diff --git a/src/wx/language_tag_dialog.cc b/src/wx/language_tag_dialog.cc
index f4e54e94b..2854479a7 100644
--- a/src/wx/language_tag_dialog.cc
+++ b/src/wx/language_tag_dialog.cc
@@ -43,6 +43,9 @@ using std::vector;
using boost::optional;
using boost::shared_ptr;
using boost::weak_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
class SubtagListCtrl : public wxListCtrl
diff --git a/src/wx/player_config_dialog.cc b/src/wx/player_config_dialog.cc
index 4c3e2ca17..a68376530 100644
--- a/src/wx/player_config_dialog.cc
+++ b/src/wx/player_config_dialog.cc
@@ -68,6 +68,9 @@ using boost::bind;
using boost::shared_ptr;
using boost::function;
using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
using dcp::locale_convert;
class PlayerGeneralPage : public GeneralPage
diff --git a/src/wx/recipient_dialog.cc b/src/wx/recipient_dialog.cc
index 1d36046dd..d59226a96 100644
--- a/src/wx/recipient_dialog.cc
+++ b/src/wx/recipient_dialog.cc
@@ -42,6 +42,9 @@ using std::vector;
using std::list;
using boost::optional;
using boost::bind;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
static string
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc
index d68ea48dd..97e582ce7 100644
--- a/src/wx/simple_video_view.cc
+++ b/src/wx/simple_video_view.cc
@@ -33,8 +33,12 @@ using std::max;
using std::string;
using boost::optional;
using boost::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
using namespace dcpomatic;
+
SimpleVideoView::SimpleVideoView (FilmViewer* viewer, wxWindow* parent)
: VideoView (viewer)
{
diff --git a/src/wx/smpte_metadata_dialog.cc b/src/wx/smpte_metadata_dialog.cc
index 6b567de75..ba45329f2 100644
--- a/src/wx/smpte_metadata_dialog.cc
+++ b/src/wx/smpte_metadata_dialog.cc
@@ -33,6 +33,9 @@ using std::vector;
using boost::optional;
using boost::shared_ptr;
using boost::weak_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
static string
diff --git a/src/wx/video_waveform_dialog.cc b/src/wx/video_waveform_dialog.cc
index 8becbd5fb..3603c5dd2 100644
--- a/src/wx/video_waveform_dialog.cc
+++ b/src/wx/video_waveform_dialog.cc
@@ -30,6 +30,10 @@ using std::cout;
using boost::bind;
using boost::weak_ptr;
using boost::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
+
VideoWaveformDialog::VideoWaveformDialog (wxWindow* parent, weak_ptr<const Film> film, weak_ptr<FilmViewer> viewer)
: wxDialog (
diff --git a/src/wx/video_waveform_plot.cc b/src/wx/video_waveform_plot.cc
index c6fa883fa..9674d0af2 100644
--- a/src/wx/video_waveform_plot.cc
+++ b/src/wx/video_waveform_plot.cc
@@ -38,12 +38,17 @@ using std::max;
using std::string;
using boost::weak_ptr;
using boost::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
using dcp::locale_convert;
+
int const VideoWaveformPlot::_vertical_margin = 8;
int const VideoWaveformPlot::_pixel_values = 4096;
int const VideoWaveformPlot::_x_axis_width = 52;
+
VideoWaveformPlot::VideoWaveformPlot (wxWindow* parent, weak_ptr<const Film> film, weak_ptr<FilmViewer> viewer)
: wxPanel (parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE)
, _film (film)