diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-28 00:05:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-28 00:05:35 +0100 |
| commit | c3433d59c0d320f0451df18c9cb06bfd5fff40b0 (patch) | |
| tree | 2e009cf578647223f815e177f4aa8dc6c85ec634 /src/wx/audio_dialog.cc | |
| parent | 88e5792ebabaf3936d98f72db92d4cd45be3ed36 (diff) | |
Hacky window-on-top fix for OS X.
Diffstat (limited to 'src/wx/audio_dialog.cc')
| -rw-r--r-- | src/wx/audio_dialog.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/audio_dialog.cc b/src/wx/audio_dialog.cc index b0867823e..ab591143c 100644 --- a/src/wx/audio_dialog.cc +++ b/src/wx/audio_dialog.cc @@ -49,7 +49,14 @@ AudioDialog::AudioDialog (wxWindow* parent, shared_ptr<Film> film, shared_ptr<Co _("Audio"), wxDefaultPosition, wxSize (640, 512), +#ifdef DCPOMATIC_OSX + /* I can't get wxFRAME_FLOAT_ON_PARENT to work on OS X, and although wxSTAY_ON_TOP keeps + the window above all others (and not just our own) it's better than nothing for now. + */ + wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE | wxSTAY_ON_TOP +#else wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE | wxFRAME_FLOAT_ON_PARENT +#endif ) , _film (film) , _content (content) |
