Dietmar Schwertberger
Dietmar Schwertberger
Would you mind also checking my other PRs? PR #24392 requires feedback about how to implement, but the others are ready for review and merge.
Thanks. The modifications are in the repository now.
Yes, sure. Thanks.
Your modifications look good for me. I have just built and tested with NVDA. Thanks.
OK, dragging the edge towards the grid is now working as well. The code is less ugly than expected. It still needs to be implemented for the grid area itself...
Dragging the label edges is now working also when inside the grid cell window. I have removed this line from `DoGridCellLeftDown`: `wxCHECK_RET( dragRowOrCol != -1, "Can't determine row or column...
The documentation is now updated. To be decided: - leave drag-resizing on by default? - leave minimum size at 0 by default? - where is `event.Skip()` required?
Thanks for the review. I will apply the suggested modifications and also try the variant with a separate `m_dragLabel`. When the changes are in the repository, I will also try...
Thanks. The `oper.reset(...)` variant looks nice. Strange enough, I did not find this use case of a delayed creation in my C++ book or online.
The advantage of using `m_dragRowOrCol = -2` was that I could re-use e.g. `DoStartResizeRowOrCol(col, size)` without changes.