summaryrefslogtreecommitdiff
path: root/src/wx/video_waveform_plot.cc
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/video_waveform_plot.cc
parentdec38a44157da230e1dbd0dc3b7b0860c6859493 (diff)
macOS / new boost build fixes.v2.15.104
Diffstat (limited to 'src/wx/video_waveform_plot.cc')
-rw-r--r--src/wx/video_waveform_plot.cc5
1 files changed, 5 insertions, 0 deletions
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)