| 461 | }; |
| 462 | |
| 463 | GODOT_GCC_WARNING_POP |
| 464 | |
| 465 | LRESULT CALLBACK WndProcFileDialog(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { |
| 466 | DisplayServerWindows *ds_win = static_cast<DisplayServerWindows *>(DisplayServer::get_singleton()); |
| 467 | if (ds_win) { |
| 468 | return ds_win->WndProcFileDialog(hWnd, uMsg, wParam, lParam); |
| 469 | } else { |
| 470 | return DefWindowProcW(hWnd, uMsg, wParam, lParam); |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | LRESULT DisplayServerWindows::WndProcFileDialog(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { |
| 475 | MutexLock lock(file_dialog_mutex); |
nothing calls this directly
no test coverage detected