Re[2]: Possible bug in wxGrid when using wxEVT_GRID_ROW_MOVE event, GetRow returns wxNOT_FOUND, GetCol returns row number that was moved.

Vadim Zeitlin <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Tue, 11 Feb 2025 01:36:35 -0800 (PST) Tony Kennedy wrote:

TK> PS. It's an easy fix. In wxGrid::DoEndMoveRow, the call to "SendEvent" 
TK> should have  m_dragMoveRowOrCol, -1, not   -1, m_dragMoveRowOrCol.

 Thanks for the fix, I've made

https://github.com/wxWidgets/wxWidgets/pull/25139/commits/369adec3e452ff3a43c3388837c64fba4bc49190

with it and it will be merged into 3.2 branch as part of PR 25139.

 Please don't hesitate to make PRs with your fixes directly!

 Thanks,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
              https://www.tt-solutions.com/
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZ6tOzAAKCRAG6kHeT2we
ho4ZAJ9yE1/udHwR/MVN59qO2mYkb7fLFgCfaAankr+wjTkIiGiUOkHnR0jt5aU=
=+QlL
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.