]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
move the code freeing temporary argv array to wxEntry(HINSTANCE) overload to avoid...
[wxWidgets.git] / 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)