From afe4e61f085016aadcc757e025bbcb9048baf2d5 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Thu, 27 Jul 2023 23:07:17 +0200 Subject: xW: mark a footgun These messages are used by IsDialogMessage(), and use the WM_USER range. --- xW/xW.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xW/xW.cpp b/xW/xW.cpp index e35fec2..c349d71 100644 --- a/xW/xW.cpp +++ b/xW/xW.cpp @@ -1723,6 +1723,9 @@ window_proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) break; } } + case DM_GETDEFID: + case DM_SETDEFID: + break; } return DefWindowProc(hWnd, uMsg, wParam, lParam); } -- cgit v1.2.3-70-g09d2