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: