diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-16 00:00:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-16 00:00:05 +0100 |
| commit | d8deb46a9aada1df1a9a8d53b4fd00abe58de315 (patch) | |
| tree | 8e6123bc6bb0d081b922595029e255ffe429df48 | |
| parent | 90a1146de8e3cc9e03d3a25953c90462e8f49728 (diff) | |
Use DCPOMATIC_OSX instead of __WXOSX__
| -rw-r--r-- | src/tools/dcpomatic_kdm.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index 3adbf5a4c..ab9d4255e 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -71,7 +71,7 @@ LIBDCP_DISABLE_WARNINGS #include <wx/treectrl.h> #include <wx/wx.h> LIBDCP_ENABLE_WARNINGS -#ifdef __WXOSX__ +#ifdef DCPOMATIC_OSX #include <ApplicationServices/ApplicationServices.h> #endif #include <boost/bind/bind.hpp> @@ -304,13 +304,13 @@ private: { auto file = new wxMenu; -#ifdef __WXOSX__ +#ifdef DCPOMATIC_OSX file->Append (wxID_EXIT, _("&Exit")); #else file->Append (wxID_EXIT, _("&Quit")); #endif -#ifdef __WXOSX__ +#ifdef DCPOMATIC_OSX file->Append(wxID_PREFERENCES, _("&Preferences...\tCtrl-,")); #else wxMenu* edit = new wxMenu; @@ -318,7 +318,7 @@ private: #endif wxMenu* help = new wxMenu; -#ifdef __WXOSX__ +#ifdef DCPOMATIC_OSX help->Append(wxID_ABOUT, variant::wx::insert_dcpomatic_kdm_creator(_("About %s"))); #else help->Append (wxID_ABOUT, _("About")); @@ -328,7 +328,7 @@ private: } m->Append (file, _("&File")); -#ifndef __WXOSX__ +#ifndef DCPOMATIC_OSX m->Append (edit, _("&Edit")); #endif m->Append (help, _("&Help")); |
