X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_waveform_plot.cc;h=794922bff190fcfff2c3cb244f13029efab1a278;hb=b81241ce69a689629307832f802ac4faa6ed885f;hp=efaf76e28620aab1f4522e496bb4683fc9c259ee;hpb=73654117144c6de0ec4efe39ddc88485df546cc9;p=dcpomatic.git diff --git a/src/wx/video_waveform_plot.cc b/src/wx/video_waveform_plot.cc index efaf76e28..794922bff 100644 --- a/src/wx/video_waveform_plot.cc +++ b/src/wx/video_waveform_plot.cc @@ -23,8 +23,8 @@ #include "wx_util.h" #include "lib/image.h" #include "lib/dcp_video.h" +#include #include -#include #include #include #include @@ -35,7 +35,7 @@ using std::min; using std::string; using boost::weak_ptr; using boost::shared_ptr; -using dcp::raw_convert; +using dcp::locale_convert; int const VideoWaveformPlot::_vertical_margin = 8; @@ -119,7 +119,7 @@ VideoWaveformPlot::paint () } else if (n < 1000) { x += extra[2]; } - gc->DrawText (std_to_wx (raw_convert (n)), x, y - (label_height / 2)); + gc->DrawText (std_to_wx (locale_convert (n)), x, y - (label_height / 2)); } wxImage waveform (_waveform->size().width, height, _waveform->data()[0], true);