projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c026d1a
)
Fix build warning on macOS.
author
Carl Hetherington
<cth@carlh.net>
Sun, 2 Feb 2025 11:57:56 +0000
(12:57 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 2 Feb 2025 11:57:56 +0000
(12:57 +0100)
src/tools/dcpomatic_kdm.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_kdm.cc
b/src/tools/dcpomatic_kdm.cc
index e65a637447fd6f187194d30d6b4f79820043aeb1..256627d0def948e2ada08911e629525fa27ffd22 100644
(file)
--- 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