From: Włodzimierz Skiba Date: Thu, 20 Jan 2005 17:24:49 +0000 (+0000) Subject: WM_CONTEXTMENU available since WinCE.NET X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ae5e1dcb68573e769b978b79ab08af64bd2ed177 WM_CONTEXTMENU available since WinCE.NET git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 2a2bb3b124..bf8cc72ded 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -2241,7 +2241,7 @@ WXLRESULT wxTreeCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara WXLRESULT rc = 0; bool isMultiple = (GetWindowStyle() & wxTR_MULTIPLE) != 0; -#ifndef __SMARTPHONE__ +#if (!defined(_WIN32_WCE)) || (defined(_WIN32_WCE) && (_WIN32_WCE >= 400)) if (nMsg == WM_CONTEXTMENU) { wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_MENU, GetId() );