don't define, nor use, LVS_EX_LABELTIP under WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -219,7 +219,8 @@ typedef struct wxtagNMLVCUSTOMDRAW_ {
|
|||||||
#define LVS_EX_FULLROWSELECT 0x00000020
|
#define LVS_EX_FULLROWSELECT 0x00000020
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef LVS_EX_LABELTIP
|
// LVS_EX_LABELTIP is not supported by Windows CE, don't define it there
|
||||||
|
#if !defined(LVS_EX_LABELTIP) && !defined(__WXWINCE__)
|
||||||
#define LVS_EX_LABELTIP 0x00004000
|
#define LVS_EX_LABELTIP 0x00004000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -353,7 +353,11 @@ void wxListCtrl::MSWSetExListStyles()
|
|||||||
::SendMessage
|
::SendMessage
|
||||||
(
|
(
|
||||||
GetHwnd(), LVM_SETEXTENDEDLISTVIEWSTYLE, 0,
|
GetHwnd(), LVM_SETEXTENDEDLISTVIEWSTYLE, 0,
|
||||||
|
// LVS_EX_LABELTIP shouldn't be used under Windows CE where it's
|
||||||
|
// not defined in the SDK headers
|
||||||
|
#ifdef LVS_EX_LABELTIP
|
||||||
LVS_EX_LABELTIP |
|
LVS_EX_LABELTIP |
|
||||||
|
#endif
|
||||||
LVS_EX_FULLROWSELECT |
|
LVS_EX_FULLROWSELECT |
|
||||||
LVS_EX_SUBITEMIMAGES |
|
LVS_EX_SUBITEMIMAGES |
|
||||||
// normally this should be governed by a style as it's probably not
|
// normally this should be governed by a style as it's probably not
|
||||||
|
Reference in New Issue
Block a user