From: Vadim Zeitlin Date: Thu, 5 Mar 2009 16:32:56 +0000 (+0000) Subject: don't use WPARAM in the header (build fix after r59336) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/25f701e6324fe5b1cf4c9b87621183ed4b863f64?ds=inline don't use WPARAM in the header (build fix after r59336) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index a2a86df75a..18df088b58 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -247,7 +247,7 @@ protected: // handle a key event in a multi-selection control // // return true if the key was processed, false otherwise - bool MSWHandleSelectionKey(WPARAM vkey); + bool MSWHandleSelectionKey(unsigned vkey); // data used only while editing the item label: diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 72fa295d37..1f45e5b01e 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -2131,7 +2131,7 @@ bool wxTreeCtrl::MSWCommand(WXUINT cmd, WXWORD id_) return true; } -bool wxTreeCtrl::MSWHandleSelectionKey(WPARAM vkey) +bool wxTreeCtrl::MSWHandleSelectionKey(unsigned vkey) { const bool bCtrl = wxIsCtrlDown(); const bool bShift = wxIsShiftDown();