Enhance SPY_GetMsgName to translate common control messages.
diff --git a/controls/listbox.c b/controls/listbox.c
index ff55edd..042f131 100644
--- a/controls/listbox.c
+++ b/controls/listbox.c
@@ -2478,7 +2478,7 @@
}
TRACE("[%04x]: msg %s wp %08x lp %08lx\n",
- hwnd, SPY_GetMsgName(msg), wParam, lParam );
+ hwnd, SPY_GetMsgName(msg, hwnd), wParam, lParam );
switch(msg)
{
case LB_RESETCONTENT16:
@@ -3041,7 +3041,7 @@
LB_DESCR *descr = (LB_DESCR *)GetWindowLongA( hwnd, 0 );
TRACE_(combo)("[%04x]: msg %s wp %08x lp %08lx\n",
- hwnd, SPY_GetMsgName(msg), wParam, lParam );
+ hwnd, SPY_GetMsgName(msg, hwnd), wParam, lParam );
if( descr || msg == WM_CREATE )
{