diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-12 22:49:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-12 22:49:23 +0100 |
| commit | ece5cca1776fc6283d3078a80ea9f6bb8c987231 (patch) | |
| tree | eebfc5039b1e33880f6415d9ae7e994cbb2ccdb8 /src | |
| parent | 251cde8683a8c717dcd5356f5acd2624249ea402 (diff) | |
Add close button to timeline dialog on Linux.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/timeline_dialog.cc | 7 |
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); |
