From e5ccfb7ec74aa8a25371a85c0a013a285884e41f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 27 May 2016 21:34:01 +0100 Subject: Try to keep video waveform dialogue on top (#820). --- src/wx/video_waveform_dialog.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3