From: Vadim Zeitlin Date: Sat, 25 Feb 2006 00:22:20 +0000 (+0000) Subject: DT_WORD_ELLIPSIS is not defined under CE X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5cce8340b28be2eecea1822434eeff7055840f9c DT_WORD_ELLIPSIS is not defined under CE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index ef2f5d71a9..14aa00809e 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -2427,7 +2427,10 @@ static void HandleSubItemPrepaint(LPNMLVCUSTOMDRAW pLVCD, HFONT hfont) // TODO: support for centred/right aligned columns ::DrawText(hdc, text, -1, &rc, - DT_WORD_ELLIPSIS | DT_NOPREFIX | DT_SINGLELINE | DT_VCENTER); +#ifndef __WXWINCE__ + DT_WORD_ELLIPSIS | +#endif // __WXWINCE__ + DT_NOPREFIX | DT_SINGLELINE | DT_VCENTER); } static void HandleItemPostpaint(NMCUSTOMDRAW nmcd)