Possible bug in wxGrid when using wxEVT_GRID_ROW_MOVE event, GetRow returns wxNOT_FOUND, GetCol returns row number that was moved.
Tony Kennedy <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all, Using wx 3.2.6 on Windows. I think I've found a bug in the wxGrid class. Easy to replicate using the grid sample. Put a breakpoint in the function "OnGridRowMove". Click File->Tabular Table Test, then tick show row labels. Now drag/drop a row, the "OnGridRowMove" function is called, but the event has the row number set to -1, but the column number set to the row you move. All the best, Tony. -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/6f5c8a32-500a-4a63-a0bd-d914fea50e03n%40googlegroups.com.