diff options
Diffstat (limited to 'src/wx/timecode.cc')
| -rw-r--r-- | src/wx/timecode.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index 82c27c5b5..36a01f90d 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -84,10 +84,10 @@ Timecode::set (Time t, int fps) t -= s * TIME_HZ; int const f = t * fps / TIME_HZ; - _hours->SetValue (wxString::Format (wxT ("%d"), h)); - _minutes->SetValue (wxString::Format (wxT ("%d"), m)); - _seconds->SetValue (wxString::Format (wxT ("%d"), s)); - _frames->SetValue (wxString::Format (wxT ("%d"), f)); + checked_set (_hours, lexical_cast<string> (h)); + checked_set (_minutes, lexical_cast<string> (m)); + checked_set (_seconds, lexical_cast<string> (s)); + checked_set (_frames, lexical_cast<string> (f)); } Time |
