summaryrefslogtreecommitdiff
path: root/src/wx/timecode.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-01 01:03:29 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-01 01:03:29 +0100
commitb8693a3bf32380733604aa6e80c9774de575ebe7 (patch)
treeca0c060984727ac6e3f8a76bdb06d5f3c668489d /src/wx/timecode.h
parent3846dd867d5d155f08c7448c9d2b911f547ac41c (diff)
Add go-to-position dialogue when clicking on preview timecode.
Diffstat (limited to 'src/wx/timecode.h')
-rw-r--r--src/wx/timecode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/timecode.h b/src/wx/timecode.h
index 18eddfdb4..d9fe4ee4c 100644
--- a/src/wx/timecode.h
+++ b/src/wx/timecode.h
@@ -1,5 +1,5 @@
/*
- 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.
@@ -30,7 +30,7 @@
class TimecodeBase : public wxPanel
{
public:
- TimecodeBase (wxWindow *);
+ TimecodeBase (wxWindow *, bool set_button);
void clear ();
@@ -58,8 +58,8 @@ template <class T>
class Timecode : public TimecodeBase
{
public:
- Timecode (wxWindow* parent)
- : TimecodeBase (parent)
+ Timecode (wxWindow* parent, bool set_button = true)
+ : TimecodeBase (parent, set_button)
{
}