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:
parent
2ece977ed7
commit
29e0da97d1
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user