- // and the resizing operation currently in progress and generate an event
- // about it with its cancelled flag set if width is -1
- void EndResizing(int width);
+ // cancel the drag operation currently in progress and generate an event
+ // about it
+ void CancelDragging();
+
+ // start (if m_colBeingResized is -1) or continue resizing the column
+ //
+ // this generates wxEVT_COMMAND_HEADER_BEGIN_RESIZE/RESIZING events and can
+ // cancel the operation if the user handler decides so
+ void StartOrContinueResizing(unsigned int col, int xPhysical);
+
+ // end the resizing operation currently in progress and generate an event
+ // about it with its cancelled flag set if xPhysical is -1
+ void EndResizing(int xPhysical);
+
+ // same functions as above but for column moving/reordering instead of
+ // resizing
+ void StartReordering(unsigned int col, int xPhysical);