From 45747c8dce6448cc6b6c797ae04f3e5fc3b741e8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 20 Apr 2013 02:18:23 +0100 Subject: Fix for 2.8. --- src/wx/film_viewer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 00f895285..fe2025b78 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -403,7 +403,7 @@ FilmViewer::process_video (shared_ptr image, bool, shared_ptr s double const t = _decoders.video->last_source_time (); double const fps = _decoders.video->frames_per_second (); - _frame->SetLabel (wxString::Format ("%d", int (rint (t * fps)))); + _frame->SetLabel (wxString::Format (wxT("%d"), int (rint (t * fps)))); double w = t; int const h = (w / 3600); @@ -413,7 +413,7 @@ FilmViewer::process_video (shared_ptr image, bool, shared_ptr s int const s = floor (w); w -= s; int const f = rint (w * fps); - _timecode->SetLabel (wxString::Format ("%02d:%02d:%02d:%02d", h, m, s, f)); + _timecode->SetLabel (wxString::Format (wxT("%02d:%02d:%02d:%02d"), h, m, s, f)); } void -- cgit v1.2.3