use LVS_EX_LABELTIP by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -28,6 +28,10 @@
|
|||||||
#define LVS_EX_FULLROWSELECT 0x00000020
|
#define LVS_EX_FULLROWSELECT 0x00000020
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef LVS_EX_LABELTIP
|
||||||
|
#define LVS_EX_LABELTIP 0x00004000
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef LVS_OWNERDATA
|
#ifndef LVS_OWNERDATA
|
||||||
#define LVS_OWNERDATA 0x1000
|
#define LVS_OWNERDATA 0x1000
|
||||||
#endif
|
#endif
|
||||||
|
@@ -357,12 +357,12 @@ bool wxListCtrl::Create(wxWindow *parent,
|
|||||||
// versions of _some_ messages (notably LVN_GETDISPINFOA) in MSLU build
|
// versions of _some_ messages (notably LVN_GETDISPINFOA) in MSLU build
|
||||||
wxSetCCUnicodeFormat(GetHwnd());
|
wxSetCCUnicodeFormat(GetHwnd());
|
||||||
|
|
||||||
// for comctl32.dll v 4.70+ we want to have this attribute because it's
|
// for comctl32.dll v 4.70+ we want to have some non default extended
|
||||||
// prettier (and also because wxGTK does it like this)
|
// styles because it's prettier (and also because wxGTK does it like this)
|
||||||
if ( InReportView() && wxApp::GetComCtl32Version() >= 470 )
|
if ( InReportView() && wxApp::GetComCtl32Version() >= 470 )
|
||||||
{
|
{
|
||||||
::SendMessage(GetHwnd(), LVM_SETEXTENDEDLISTVIEWSTYLE,
|
::SendMessage(GetHwnd(), LVM_SETEXTENDEDLISTVIEWSTYLE,
|
||||||
0, LVS_EX_FULLROWSELECT);
|
0, LVS_EX_LABELTIP | LVS_EX_FULLROWSELECT);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user