This should set the default cursor for the window instead of doing nothing.
Also simplify the code by overriding just the new WXUpdateCursor() member function instead of SetCursor() itself: this avoids the need for checking if the cursor has really changed.
Closes #25811.
https://github.com/wxWidgets/wxWidgets/pull/25814
(2 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
For the record, I'm still going to merge this even if it does not fix #25811, finally, see the discussion in #25813. But the current behaviour of SetCursor(wxCursor{})
still seems incorrect and this fixes it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Closed #25814.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Merged as the commit above.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.