From 29e0da97d1849d10d4980c1f6897105c1469f903 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 14 Oct 2019 09:27:50 -0700 Subject: [PATCH] Remove invalid flag from HDITEM mask HDF_LEFT is zero, so it had no effect, but it doesn't belong there --- src/msw/headerctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/headerctrl.cpp b/src/msw/headerctrl.cpp index 68ee831c55..822b986c65 100644 --- a/src/msw/headerctrl.cpp +++ b/src/msw/headerctrl.cpp @@ -480,7 +480,7 @@ void wxMSWHeaderCtrl::DoInsertItem(const wxHeaderColumn& col, unsigned int idx) if ( col.GetAlignment() != wxALIGN_NOT ) { - hdi.mask |= HDI_FORMAT | HDF_LEFT; + hdi.mask |= HDI_FORMAT; switch ( col.GetAlignment() ) { case wxALIGN_LEFT: