Skip to content

Commit dd7f911

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

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
@@ -547,7 +547,7 @@ bool wxHeaderCtrl::EndReordering(int xPhysical)
547547
event.SetNewOrder(new_pos);
548548

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

0 commit comments

Comments
 (0)