diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-02-02 12:57:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-02-02 12:57:56 +0100 |
| commit | 7536019a318b3db7c6cc1dd5d1fd695cef89c9b6 (patch) | |
| tree | 85b0e4c3e4736a38094199e9b1d1335fd3c12023 | |
| parent | c026d1a586cf3be82c10c0222a6dc5c53b296614 (diff) | |
Fix build warning on macOS.
| -rw-r--r-- | src/tools/dcpomatic_kdm.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index e65a63744..256627d0d 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -305,14 +305,10 @@ private: void setup_menu (wxMenuBar* m) { - auto file = new wxMenu; - #ifndef DCPOMATIC_OSX + auto file = new wxMenu; file->Append (wxID_EXIT, _("&Quit")); -#endif - -#ifndef DCPOMATIC_OSX - wxMenu* edit = new wxMenu; + auto edit = new wxMenu; edit->Append (wxID_PREFERENCES, _("&Preferences...\tCtrl-P")); #endif |
