X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6327cdd57cd324afc284c4ef04a1a8eb6eab6e55..af67f39da8ecf7c29ba5071ac49456d506c111cf:/include/wx/generic/headerctrlg.h diff --git a/include/wx/generic/headerctrlg.h b/include/wx/generic/headerctrlg.h index 3550f179ca..28a73c24b0 100644 --- a/include/wx/generic/headerctrlg.h +++ b/include/wx/generic/headerctrlg.h @@ -127,7 +127,11 @@ private: // same functions as above but for column moving/reordering instead of // resizing void StartReordering(unsigned int col, int xPhysical); - void EndReordering(int xPhysical); + + // returns true if we did drag the column somewhere else or false if we + // didn't really move it -- in this case we consider that no reordering + // took place and that a normal column click event should be generated + bool EndReordering(int xPhysical); // constrain the given position to be larger than the start position of the // given column plus its minimal width and return the effective width