Accept float fps when getting timecodes from the Timecode control
[dcpomatic.git] / src / wx / timecode.h
index d9fe4ee4c96af761b0adc5238a82d4a2cd9fa8a9..18508847b3af4e0b2f1ddf225f339c1afa7e7be5 100644 (file)
@@ -35,6 +35,7 @@ public:
        void clear ();
 
        void set_editable (bool);
+       void set_focus ();
 
        boost::signals2::signal<void ()> 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 ());