/*
- Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
class TimecodeBase : public wxPanel
{
public:
- TimecodeBase (wxWindow *);
+ TimecodeBase (wxWindow *, bool set_button);
void clear ();
void set_editable (bool);
+ void set_focus ();
boost::signals2::signal<void ()> Changed;
class Timecode : public TimecodeBase
{
public:
- Timecode (wxWindow* parent)
- : TimecodeBase (parent)
+ Timecode (wxWindow* parent, bool set_button = true)
+ : TimecodeBase (parent, set_button)
{
}