Fix wxListCtrl checkbox style when reapplying extended styles
Fixes #19263
This commit is contained in:
@@ -351,6 +351,10 @@ void wxListCtrl::MSWSetExListStyles()
|
|||||||
if ( !GetToolTip() )
|
if ( !GetToolTip() )
|
||||||
exStyle |= LVS_EX_LABELTIP;
|
exStyle |= LVS_EX_LABELTIP;
|
||||||
|
|
||||||
|
// include the checkbox style
|
||||||
|
if ( HasCheckBoxes() )
|
||||||
|
exStyle |= LVS_EX_CHECKBOXES;
|
||||||
|
|
||||||
if ( wxApp::GetComCtl32Version() >= 600 )
|
if ( wxApp::GetComCtl32Version() >= 600 )
|
||||||
{
|
{
|
||||||
// We must enable double buffering when using the system theme to avoid
|
// We must enable double buffering when using the system theme to avoid
|
||||||
|
Reference in New Issue
Block a user