Skip to content

Commit ffa3bb7

Browse files
author
徐扬斌
committed
Revert the old correct behavior that allow application to decide whether reordering is allowed.
1 parent be09c5f commit ffa3bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic/headerctrlg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ bool wxHeaderCtrl::EndReordering(int xPhysical)
546546
event.SetNewOrder(new_pos);
547547

548548
//printf("Move col %d to %d, pos to %d\n", colOld, colNew, new_pos);
549-
if ( GetEventHandler()->ProcessEvent(event) || event.IsAllowed() )
549+
if ( !GetEventHandler()->ProcessEvent(event) || event.IsAllowed() )
550550
{
551551
// do reorder the columns
552552
DoMoveCol(colOld, new_pos);

0 commit comments

Comments
 (0)