fix drag-and-drop in windows
This commit is contained in:
@ -356,9 +356,13 @@ typedef enum _SHC_PROCESS_DPI_AWARENESS {
|
||||
SHC_PROCESS_PER_MONITOR_DPI_AWARE = 2,
|
||||
} SHC_PROCESS_DPI_AWARENESS;
|
||||
|
||||
class DropTargetWindows;
|
||||
|
||||
class DisplayServerWindows : public DisplayServer {
|
||||
// No need to register with GDCLASS, it's platform-specific and nothing is added.
|
||||
|
||||
friend class DropTargetWindows;
|
||||
|
||||
_THREAD_SAFE_CLASS_
|
||||
|
||||
// UXTheme API
|
||||
@ -519,6 +523,9 @@ class DisplayServerWindows : public DisplayServer {
|
||||
Callable input_text_callback;
|
||||
Callable drop_files_callback;
|
||||
|
||||
// OLE API
|
||||
DropTargetWindows *drop_target = nullptr;
|
||||
|
||||
WindowID transient_parent = INVALID_WINDOW_ID;
|
||||
HashSet<WindowID> transient_children;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user