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:
parent
f5e93b3586
commit
16a0ccd009
@ -28,6 +28,10 @@
|
||||
#define LVS_EX_FULLROWSELECT 0x00000020
|
||||
#endif
|
||||
|
||||
#ifndef LVS_EX_LABELTIP
|
||||
#define LVS_EX_LABELTIP 0x00004000
|
||||
#endif
|
||||
|
||||
#ifndef LVS_OWNERDATA
|
||||
#define LVS_OWNERDATA 0x1000
|
||||
#endif
|
||||
|
@ -357,12 +357,12 @@ bool wxListCtrl::Create(wxWindow *parent,
|
||||
// versions of _some_ messages (notably LVN_GETDISPINFOA) in MSLU build
|
||||
wxSetCCUnicodeFormat(GetHwnd());
|
||||
|
||||
// for comctl32.dll v 4.70+ we want to have this attribute because it's
|
||||
// prettier (and also because wxGTK does it like this)
|
||||
// for comctl32.dll v 4.70+ we want to have some non default extended
|
||||
// styles because it's prettier (and also because wxGTK does it like this)
|
||||
if ( InReportView() && wxApp::GetComCtl32Version() >= 470 )
|
||||
{
|
||||
::SendMessage(GetHwnd(), LVM_SETEXTENDEDLISTVIEWSTYLE,
|
||||
0, LVS_EX_FULLROWSELECT);
|
||||
0, LVS_EX_LABELTIP | LVS_EX_FULLROWSELECT);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user