Merge master.
[dcpomatic.git] / src / wx / timecode.cc
index 86e1997e961ba31ad080b70bfe6fc6fbb7ac2de5..07cb0be6586b6485defff73b314ad2702fac87f5 100644 (file)
@@ -115,6 +115,16 @@ Timecode::get (int fps) const
        return t;
 }
 
+void
+Timecode::clear ()
+{
+       checked_set (_hours, "");
+       checked_set (_minutes, "");
+       checked_set (_seconds, "");
+       checked_set (_frames, "");
+       _fixed->SetLabel ("");
+}
+
 void
 Timecode::changed ()
 {