mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Go through DragAcceptFiles function pointer for ui_win32_window too
This commit is contained in:
parent
2f832d145f
commit
dfd2c45454
@ -75,11 +75,14 @@ static void ui_window_win32_set_title(void *data, char *buf)
|
||||
SetWindowText(window->hwnd, buf);
|
||||
}
|
||||
|
||||
extern "C" VOID (WINAPI *DragAcceptFiles_func)(HWND, BOOL);
|
||||
|
||||
void ui_window_win32_set_droppable(void *data, bool droppable)
|
||||
{
|
||||
/* Minimum supported client: Windows XP, minimum supported server: Windows 2000 Server */
|
||||
ui_window_win32_t *window = (ui_window_win32_t*)data;
|
||||
DragAcceptFiles(window->hwnd, droppable);
|
||||
if (DragAcceptFiles_func != NULL)
|
||||
DragAcceptFiles_func(window->hwnd, droppable);
|
||||
}
|
||||
|
||||
static bool ui_window_win32_focused(void *data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user