Fix for 2.8.
authorCarl Hetherington <cth@carlh.net>
Sat, 20 Apr 2013 01:18:23 +0000 (02:18 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 20 Apr 2013 01:18:23 +0000 (02:18 +0100)
src/wx/film_viewer.cc

index 00f89528553ced676392fc8833dbd1b44349043b..fe2025b780635f7c515f25e5903b3a7e43acaac8 100644 (file)
@@ -403,7 +403,7 @@ FilmViewer::process_video (shared_ptr<Image> image, bool, shared_ptr<Subtitle> 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> image, bool, shared_ptr<Subtitle> 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