Browse Source

device: fix failure to open message-only window

Not sure why I was getting this, but this seems to fix it
rdb 5 years ago
parent
commit
00305bccae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/device/winInputDeviceManager.cxx

+ 1 - 1
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