summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-27 21:34:01 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-27 21:34:01 +0100
commite5ccfb7ec74aa8a25371a85c0a013a285884e41f (patch)
tree010fc40320a68c67610f547c1aad08c8d6cc7abc /src
parent4773efba08ed70d75cd2b1f1cdbc7fb6e065d355 (diff)
Try to keep video waveform dialogue on top (#820).
Diffstat (limited to 'src')
-rw-r--r--src/wx/video_waveform_dialog.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/wx/video_waveform_dialog.cc b/src/wx/video_waveform_dialog.cc
index 3e9a1714a..ae4b8f820 100644
--- a/src/wx/video_waveform_dialog.cc
+++ b/src/wx/video_waveform_dialog.cc
@@ -29,7 +29,14 @@ using std::cout;
using boost::bind;
VideoWaveformDialog::VideoWaveformDialog (wxWindow* parent, FilmViewer* viewer)
- : wxDialog (parent, wxID_ANY, _("Video Waveform"), wxDefaultPosition, wxSize (640, 512), wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE)
+ : wxDialog (
+ parent,
+ wxID_ANY,
+ _("Video Waveform"),
+ wxDefaultPosition,
+ wxSize (640, 512),
+ wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE | wxSTAY_ON_TOP
+ )
, _viewer (viewer)
{
wxBoxSizer* overall_sizer = new wxBoxSizer (wxVERTICAL);