From 00305bccae3643dda6f469f9cfe0cc46b7e5d74b Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 13 Apr 2020 13:27:36 +0200 Subject: [PATCH] device: fix failure to open message-only window Not sure why I was getting this, but this seems to fix it --- panda/src/device/winInputDeviceManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/device/winInputDeviceManager.cxx b/panda/src/device/winInputDeviceManager.cxx index f218d450a6..efc81641d6 100644 --- a/panda/src/device/winInputDeviceManager.cxx +++ b/panda/src/device/winInputDeviceManager.cxx @@ -521,7 +521,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { default: break; } - return DefWindowProcW(hwnd, msg, wparam, lparam); + return DefWindowProc(hwnd, msg, wparam, lparam); } #ifdef HAVE_THREADS