]> git.saurik.com Git - wxWidgets.git/commitdiff
DT_WORD_ELLIPSIS is not defined under CE
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Feb 2006 00:22:20 +0000 (00:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Feb 2006 00:22:20 +0000 (00:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listctrl.cpp

index ef2f5d71a9a6eea3223e3ce64dcc1287f0e170eb..14aa00809e656ade36d7d035715289e6ec754b0f 100644 (file)
@@ -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)