projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
251cde8
)
Add close button to timeline dialog on Linux.
author
Carl Hetherington
<cth@carlh.net>
Sun, 12 Jul 2015 21:49:23 +0000
(22:49 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 12 Jul 2015 21:49:23 +0000
(22:49 +0100)
src/wx/timeline_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/timeline_dialog.cc
b/src/wx/timeline_dialog.cc
index ab2162b3964181ae65cf0ee5b7be4695d019855d..e4e83850af3d59c8078b645595460b54132d457e 100644
(file)
--- 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);