Correct printf parameter mismatch in wxWndProc.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Jul 2010 13:39:20 +0000 (13:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Jul 2010 13:39:20 +0000 (13:39 +0000)
commitef787038ecc3f071169e5400cf4202ad2a7d6e5c
tree46bc28a752dd14a311cffb487098d17f7ec3940d
parent0e601bf087b54ee4f216e538dd2a767ddc937d77
Correct printf parameter mismatch in wxWndProc.

LPARAM is a 64 bit type in Win64 and doesn't match the size expected by "%l"
printf format specifier. Instead of showing it as a 32 bit number in 32 bit
build and 64 bit in 64 bits, just truncate it to the lower 32 bits in any case
for now, this should be enough for the diagnostic messages.

Closes #12242.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/window.cpp