Add wxTopLevelWindow::SetContentProtection()
This method allows to exclude a top level window from screen captures. Windows 7 or newer is required and any macOS version is supported. Other platforms are not implemented and will return false. The display example has been extended to demo this ability. Closes #22066.
This commit is contained in:
committed by
Vadim Zeitlin
parent
f172f53ac4
commit
0a7b3bb3cf
@@ -398,6 +398,18 @@
|
||||
|
||||
#ifndef MUI_LANGUAGE_NAME
|
||||
#define MUI_LANGUAGE_NAME 0x8
|
||||
#endif
|
||||
|
||||
#ifndef WDA_NONE
|
||||
#define WDA_NONE 0x0
|
||||
#endif
|
||||
|
||||
#ifndef WDA_MONITOR
|
||||
#define WDA_MONITOR 0x1
|
||||
#endif
|
||||
|
||||
#ifndef WDA_EXCLUDEFROMCAPTURE
|
||||
#define WDA_EXCLUDEFROMCAPTURE 0x11
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user