Fix format specifier used for wParam in wxMSW WM_POWER handler

wParam is 64 bits in 64 bit builds and can't be used with "%d", we need
"%zd" for it.

Closes #19080.
This commit is contained in:
Vadim Zeitlin
2021-02-23 22:07:50 +01:00
parent f25d48fbd5
commit 752ba82041

View File

@@ -4569,7 +4569,7 @@ bool wxWindowMSW::HandlePower(WXWPARAM wParam,
break;
default:
wxLogDebug(wxT("Unknown WM_POWERBROADCAST(%d) event"), wParam);
wxLogDebug(wxT("Unknown WM_POWERBROADCAST(%zd) event"), wParam);
wxFALLTHROUGH;
// these messages are currently not mapped to wx events