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 38b976f..9e4d3b4 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 bce3c86..b2fb0ef 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 ())