diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-31 00:20:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-31 00:20:47 +0100 |
| commit | 362be059dfcbc78153ff563f8d285b1613f51c67 (patch) | |
| tree | 31cc03ab2738db6ba77507a40aefd30eca006456 | |
| parent | 852084f03f87939363a3ba8ab142b4f9b5ee6db2 (diff) | |
Fix macOS preferences menu, lost in 0da18dbf9b62b532f48a4e859f70f4ddedb6f78e
| -rw-r--r-- | src/tools/dcpomatic_kdm.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index af69aca3c..e65a63744 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -311,15 +311,17 @@ private: file->Append (wxID_EXIT, _("&Quit")); #endif -#ifdef DCPOMATIC_OSX - file->Append(wxID_PREFERENCES, _("&Preferences...\tCtrl-,")); -#else +#ifndef DCPOMATIC_OSX wxMenu* edit = new wxMenu; edit->Append (wxID_PREFERENCES, _("&Preferences...\tCtrl-P")); #endif wxMenu* help = new wxMenu; #ifdef DCPOMATIC_OSX + /* This will get moved to the program menu, so we just need to add it to some menu that + * does get used on macOS. + */ + help->Append(wxID_PREFERENCES, _("&Preferences...\tCtrl-,")); help->Append(wxID_ABOUT, variant::wx::insert_dcpomatic_kdm_creator(_("About %s"))); #else help->Append (wxID_ABOUT, _("About")); |
