projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86bbc09
)
OSX playlist editor build fix.
author
Carl Hetherington
<cth@carlh.net>
Tue, 19 Feb 2019 20:53:25 +0000
(20:53 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 19 Feb 2019 20:53:25 +0000
(20:53 +0000)
src/tools/dcpomatic_playlist.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_playlist.cc
b/src/tools/dcpomatic_playlist.cc
index 50f692376d0cace72ead47bb8cde2f78a97f28ed..6b1066c5dd7a148872bb670fe1df81c85e22aa2f 100644
(file)
--- a/
src/tools/dcpomatic_playlist.cc
+++ b/
src/tools/dcpomatic_playlist.cc
@@
-32,6
+32,9
@@
#include <wx/wx.h>
#include <wx/listctrl.h>
#include <wx/imaglist.h>
#include <wx/wx.h>
#include <wx/listctrl.h>
#include <wx/imaglist.h>
+#ifdef __WXOSX__
+#include <ApplicationServices/ApplicationServices.h>
+#endif
using std::exception;
using std::cout;
using std::exception;
using std::cout;
@@
-351,7
+354,7
@@
private:
unsetenv ("UBUNTU_MENUPROXY");
#endif
unsetenv ("UBUNTU_MENUPROXY");
#endif
-
#ifdef __WXOSX__
+#ifdef __WXOSX__
ProcessSerialNumber serial;
GetCurrentProcess (&serial);
TransformProcessType (&serial, kProcessTransformToForegroundApplication);
ProcessSerialNumber serial;
GetCurrentProcess (&serial);
TransformProcessType (&serial, kProcessTransformToForegroundApplication);