X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ebc9b89d52acc331e89b4ab44e51f850d58dbd01..39db4477f101d9bbc308369f52d3a88b06ffdae5:/src/msw/listctrl.cpp diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 221b90cd3b..b248381832 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -1749,8 +1749,9 @@ bool wxListCtrl::MSWShouldPreProcessMessage(WXMSG* msg) return wxControl::MSWShouldPreProcessMessage(msg); } -bool wxListCtrl::MSWCommand(WXUINT cmd, WXWORD id) +bool wxListCtrl::MSWCommand(WXUINT cmd, WXWORD id_) { + const int id = (signed short)id_; if (cmd == EN_UPDATE) { wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, id);