From 5b0e331380c83ec9835e8aa42fd342b2f0ad275d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 10 Jul 2021 02:02:19 +0200 Subject: Use dcp::compose rather than our own. --- src/wx/audio_plot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wx/audio_plot.cc') diff --git a/src/wx/audio_plot.cc b/src/wx/audio_plot.cc index 90a4aa91d..cfb08eb54 100644 --- a/src/wx/audio_plot.cc +++ b/src/wx/audio_plot.cc @@ -24,7 +24,7 @@ #include "film_viewer.h" #include "lib/audio_decoder.h" #include "lib/audio_analysis.h" -#include "lib/compose.hpp" +#include #include #include #include @@ -190,7 +190,7 @@ AudioPlot::paint () int const y = (metrics.height - (i - _minimum) * metrics.y_scale) - metrics.y_origin; h_grid.MoveToPoint (metrics.db_label_width - 4, y); h_grid.AddLineToPoint (metrics.db_label_width + data_width, y); - gc->DrawText (std_to_wx (String::compose ("%1dB", i)), 0, y - (db_label_height / 2)); + gc->DrawText (std_to_wx (dcp::compose ("%1dB", i)), 0, y - (db_label_height / 2)); } gc->SetPen (wxPen (wxColour (200, 200, 200))); -- cgit v1.2.3