Try to keep video waveform dialogue on top (#820).
authorCarl Hetherington <cth@carlh.net>
Fri, 27 May 2016 20:34:01 +0000 (21:34 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 27 May 2016 20:34:01 +0000 (21:34 +0100)
ChangeLog
src/wx/video_waveform_dialog.cc

index 8251f611787571058901b1f817ac05279d28c981..8f457e91c91ab0aa2c808b82e9d1c6ed651fd67c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2016-05-27  Carl Hetherington  <cth@carlh.net>
 
+       * Try to keep video waveform dialogue on top at all times (#820).
+
        * Updated uk_UA translation from Igor Voytovich.
 
        * Updated ru_RU translation from Igor Voytovich.
index 3e9a1714a086b19e8811d4f4253e8f73a7dac450..ae4b8f8203dcdd8c9bf5da983988c7bfd0c8aea5 100644 (file)
@@ -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);