Fix wxListCtrl checkbox style when reapplying extended styles

Fixes #19263
This commit is contained in:
Maarten Bent
2021-10-17 11:37:51 +02:00
parent fbb2ec85ef
commit fef2d7d05b

View File

@@ -351,6 +351,10 @@ void wxListCtrl::MSWSetExListStyles()
if ( !GetToolTip() )
exStyle |= LVS_EX_LABELTIP;
// include the checkbox style
if ( HasCheckBoxes() )
exStyle |= LVS_EX_CHECKBOXES;
if ( wxApp::GetComCtl32Version() >= 600 )
{
// We must enable double buffering when using the system theme to avoid