diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-19 20:37:33 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-11-19 20:37:33 +0000 |
| commit | fab7fa5a9ef1d069c7ca32e3669d0e37e896250c (patch) | |
| tree | 8b79934eacbaf1c39060a9d4ba9307c8178608ef /src/wx/timecode.cc | |
| parent | 24e890682b3f2aa211277ad8b6b3591f2026d4be (diff) | |
Focus the timecode control on opening playhead-to-timecode.
Diffstat (limited to 'src/wx/timecode.cc')
| -rw-r--r-- | src/wx/timecode.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index 8db605094..454614a1b 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -85,6 +85,12 @@ TimecodeBase::TimecodeBase (wxWindow* parent, bool set_button) } void +TimecodeBase::set_focus () +{ + _hours->SetFocus (); +} + +void TimecodeBase::clear () { checked_set (_hours, wxT ("")); |
