X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Faudio_plot.cc;h=cfb08eb54a2de1d22fa098864e009c2dbc952320;hb=refs%2Fheads%2Fcompose;hp=90a4aa91df39b5a5cc468ba8a3850b0b5f4b2ba4;hpb=5d838bc863a7569e68546026c109607fd5a94362;p=dcpomatic.git 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)));