summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-20 02:18:23 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-20 02:18:23 +0100
commit45747c8dce6448cc6b6c797ae04f3e5fc3b741e8 (patch)
tree47378f1e98610e3138ee8ccbbc9f3578dbab4940 /src
parentf870b63dbca8c00fb9103faeef1093aca8cc4d2f (diff)
Fix for 2.8.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_viewer.cc4
1 files 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> 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