From 94056bf7f8fdef32da3cd78eff68d58560b4e6be Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 11 Aug 2016 12:49:23 +0100 Subject: Replace incorrect uses of raw_convert with a new locale_convert. --- src/wx/video_waveform_plot.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/wx/video_waveform_plot.cc') diff --git a/src/wx/video_waveform_plot.cc b/src/wx/video_waveform_plot.cc index efaf76e28..096d340e8 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 "lib/locale_convert.h" #include -#include #include #include #include @@ -35,7 +35,6 @@ using std::min; using std::string; using boost::weak_ptr; using boost::shared_ptr; -using dcp::raw_convert; int const VideoWaveformPlot::_vertical_margin = 8; @@ -119,7 +118,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); -- cgit v1.2.3