Remove unreachable code
This commit is contained in:
parent
29e0da97d1
commit
cfdcc3c29d
@ -481,12 +481,10 @@ void wxMSWHeaderCtrl::DoInsertItem(const wxHeaderColumn& col, unsigned int idx)
|
||||
if ( col.GetAlignment() != wxALIGN_NOT )
|
||||
{
|
||||
hdi.mask |= HDI_FORMAT;
|
||||
|
||||
// wxALIGN_LEFT is the same as wxALIGN_NOT
|
||||
switch ( col.GetAlignment() )
|
||||
{
|
||||
case wxALIGN_LEFT:
|
||||
hdi.fmt |= HDF_LEFT;
|
||||
break;
|
||||
|
||||
case wxALIGN_CENTER:
|
||||
case wxALIGN_CENTER_HORIZONTAL:
|
||||
hdi.fmt |= HDF_CENTER;
|
||||
|
Loading…
Reference in New Issue
Block a user