smasherprog / screen_capture_lite

cross platform screen/window capturing library
MIT License
616 stars 156 forks source link

No new frames on macOS Catalina when running inside wxWidgets app #91

Closed kolpav closed 3 years ago

kolpav commented 3 years ago

I have wxWidgets app displaying monitor output and it works on windows and linux but not on macos. I am sure it has to do something with Catalina's Privacy Protection where you need to allow access to things like screen capture for each app.

Strange thing is when I run screen_capture_lite as console application I get prompt asking for access and everything is working fine but when I run my wxWidgets app I never get prompted and only event I am getting is mouseChanged. Are there any prerequisites for running this library inside wxWidgets on macos catalina?

I know this is more of a question than issue with this library feel free to close.

smasherprog commented 3 years ago

I have used wxwidgets before. Maybe we need to add a call on app startup before wxwidgets?

smasherprog commented 3 years ago

Were you able to figure this one out?

smasherprog commented 3 years ago

Closing due to lack of information. Ill reopen if there's more info provided