Remove invalid flag from HDITEM mask

HDF_LEFT is zero, so it had no effect, but it doesn't belong there
This commit is contained in:
Paul Cornett 2019-10-14 09:27:50 -07:00
parent 2ece977ed7
commit 29e0da97d1

View File

@ -480,7 +480,7 @@ void wxMSWHeaderCtrl::DoInsertItem(const wxHeaderColumn& col, unsigned int idx)
if ( col.GetAlignment() != wxALIGN_NOT ) if ( col.GetAlignment() != wxALIGN_NOT )
{ {
hdi.mask |= HDI_FORMAT | HDF_LEFT; hdi.mask |= HDI_FORMAT;
switch ( col.GetAlignment() ) switch ( col.GetAlignment() )
{ {
case wxALIGN_LEFT: case wxALIGN_LEFT: