Try wxFRAME_FLOAT_ON_PARENT instead of wxSTAY_ON_TOP (#909).
authorCarl Hetherington <cth@carlh.net>
Tue, 5 Jul 2016 15:09:29 +0000 (16:09 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 5 Jul 2016 15:09:29 +0000 (16:09 +0100)
ChangeLog
src/wx/audio_dialog.cc
src/wx/video_waveform_dialog.cc

index 42d7e92..0d63da2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-07-05  c.hetherington  <cth@carlh.net>
+
+       * Fix stay-on-top behaviour of audio/video graphs
+       to only stay on top of other DCP-o-matic windows (#909).
+
 2016-07-04  Carl Hetherington  <cth@carlh.net>
 
        * Version 2.8.18 released.
index 19b5fe7..b7f1f61 100644 (file)
@@ -47,7 +47,7 @@ AudioDialog::AudioDialog (wxWindow* parent, shared_ptr<Film> film, shared_ptr<Co
                _("Audio"),
                wxDefaultPosition,
                wxSize (640, 512),
-               wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE | wxSTAY_ON_TOP
+               wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE | wxFRAME_FLOAT_ON_PARENT
                )
        , _film (film)
        , _content (content)
index ae4b8f8..e4b09b8 100644 (file)
@@ -35,7 +35,7 @@ VideoWaveformDialog::VideoWaveformDialog (wxWindow* parent, FilmViewer* viewer)
                _("Video Waveform"),
                wxDefaultPosition,
                wxSize (640, 512),
-               wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE | wxSTAY_ON_TOP
+               wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE | wxFRAME_FLOAT_ON_PARENT
                )
        , _viewer (viewer)
 {