summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-12 22:49:23 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-12 22:49:23 +0100
commitece5cca1776fc6283d3078a80ea9f6bb8c987231 (patch)
treeeebfc5039b1e33880f6415d9ae7e994cbb2ccdb8 /src
parent251cde8683a8c717dcd5356f5acd2624249ea402 (diff)
Add close button to timeline dialog on Linux.
Diffstat (limited to 'src')
-rw-r--r--src/wx/timeline_dialog.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/timeline_dialog.cc b/src/wx/timeline_dialog.cc
index ab2162b39..e4e83850a 100644
--- a/src/wx/timeline_dialog.cc
+++ b/src/wx/timeline_dialog.cc
@@ -45,6 +45,13 @@ TimelineDialog::TimelineDialog (ContentPanel* cp, shared_ptr<Film> film)
sizer->Add (controls, 0, wxALL, 12);
sizer->Add (&_timeline, 1, wxEXPAND | wxALL, 12);
+#ifdef DCPOMATIC_LINUX
+ wxSizer* buttons = CreateSeparatedButtonSizer (wxCLOSE);
+ if (buttons) {
+ sizer->Add (buttons, wxSizerFlags().Expand().DoubleBorder());
+ }
+#endif
+
SetSizer (sizer);
sizer->Layout ();
sizer->SetSizeHints (this);