I build wxWidgets and/or my application using:
Compiling wxWidgets fails when trying to build dcscreen.cpp with the following error message:
/Users/stephen/git/programs/c++/MidiMessageViewer/wxWidgets/src/osx/carbon/dcscreen.cpp:73:13: error: 'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
73 | image = CGDisplayCreateImage(kCGDirectMainDisplay);
It appears CGDisplayCreateImage will no longer available in the upcoming macOS 15 Sequoia release.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Thanks for reporting this.
If anybody knows how to use ScreenCaptureKit instead, PRs would be welcome, but otherwise we probably just need to disable this code and document that wxScreenDC doesn't work under macOS (or just about anywhere else AFAIK).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Closed #24724 as completed via 7e32de0.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()