Try to fix server status window being opened behind others (#1503).
authorCarl Hetherington <cth@carlh.net>
Mon, 25 Mar 2019 00:07:03 +0000 (00:07 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 25 Mar 2019 00:07:03 +0000 (00:07 +0000)
src/tools/dcpomatic_server.cc

index ab3e5b258d241a6c6f808fc2c6a36b5ca2049393..1554c02f4541ff11374b06ceddc41afffc5c43f3 100644 (file)
@@ -145,7 +145,11 @@ public:
                : wxDialog (
                        0, wxID_ANY, _("DCP-o-matic Encode Server"),
                        wxDefaultPosition, wxDefaultSize,
+#ifdef DCPOMATIC_OSX
+                       wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxSTAY_ON_TOP
+#else
                        wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER
+#endif
                        )
        {
                wxFlexGridSizer* state_sizer = new wxFlexGridSizer (2, DCPOMATIC_SIZER_GAP, DCPOMATIC_SIZER_GAP);