Keep audio dialog always-on-top (#756).
authorCarl Hetherington <cth@carlh.net>
Mon, 30 May 2016 21:46:07 +0000 (22:46 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 30 May 2016 21:46:07 +0000 (22:46 +0100)
ChangeLog
src/wx/audio_dialog.cc

index 38b976fac3dcc85e80b284a17a7afdd9337218c3..9e4d3b42c9e77647b57c96133d64bedb5443fec9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2016-05-30  Carl Hetherington  <cth@carlh.net>
 
+       * Keep audio dialogue always-on-top (#756).
+
        * Add Cancel button to custom colour conversion
        dialogue (#880).
 
index bce3c8628e34618313e90c534b99fe95b32ba97f..b2fb0efe5d4aa2b2341d686ca8b3fdce170626fe 100644 (file)
@@ -41,7 +41,14 @@ using boost::dynamic_pointer_cast;
 
 /** @param content Content to analyse, or 0 to analyse all of the film's audio */
 AudioDialog::AudioDialog (wxWindow* parent, shared_ptr<Film> film, shared_ptr<Content> content)
-       : wxDialog (parent, wxID_ANY, _("Audio"), wxDefaultPosition, wxSize (640, 512), wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE)
+       : wxDialog (
+               parent,
+               wxID_ANY,
+               _("Audio"),
+               wxDefaultPosition,
+               wxSize (640, 512),
+               wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE | wxSTAY_ON_TOP
+               )
        , _film (film)
        , _content (content)
        , _channels (film->audio_channels ())