X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimecode.h;h=18508847b3af4e0b2f1ddf225f339c1afa7e7be5;hb=f10e025eba54b0ab4dbe1b3611071b160ca89208;hp=d9fe4ee4c96af761b0adc5238a82d4a2cd9fa8a9;hpb=b8693a3bf32380733604aa6e80c9774de575ebe7;p=dcpomatic.git diff --git a/src/wx/timecode.h b/src/wx/timecode.h index d9fe4ee4c..18508847b 100644 --- a/src/wx/timecode.h +++ b/src/wx/timecode.h @@ -35,6 +35,7 @@ public: void clear (); void set_editable (bool); + void set_focus (); boost::signals2::signal Changed; @@ -80,7 +81,7 @@ public: checked_set (_fixed, t.timecode (fps)); } - T get (int fps) const + T get (float fps) const { T t; std::string const h = wx_to_std (_hours->GetValue ());