From 68fc69f3070a0b40f65297adfe45d85e86dc30f3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 19 Jun 2005 22:37:44 +0000 Subject: [PATCH] WinCE compilation fix (no SM_C[XY]DRAG under CE as there is no mouse cursor) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/treectrl.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 475c90fb81..87cd1df038 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -2397,7 +2397,7 @@ WXLRESULT wxTreeCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara #endif // wxUSE_CHECKBOXES_IN_MULTI_SEL_TREE case WM_MOUSEMOVE: - +#ifndef __WXWINCE__ if ( m_htClickedItem ) { int cx = abs(m_ptClick.x - x); @@ -2433,9 +2433,8 @@ WXLRESULT wxTreeCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara } m_htClickedItem.Unset(); } - - } +#endif // __WXWINCE__ if ( m_dragImage ) {