Fix SetCursor(wxNullCursor) behaviour in wxOSX (PR #25814)

22 views
Skip to first unread message

VZ

unread,
Sep 18, 2025, 4:02:45 PM (7 days ago) Sep 18
to wx-...@googlegroups.com, Subscribed

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.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/25814

Commit Summary

  • b72ba21 Fix SetCursor(wxNullCursor) behaviour in wxOSX

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25814@github.com>

VZ

unread,
Sep 23, 2025, 9:01:02 AM (2 days ago) Sep 23
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25814)

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.Message ID: <wxWidgets/wxWidgets/pull/25814/c3323918881@github.com>

VZ

unread,
Sep 23, 2025, 9:12:47 AM (2 days ago) Sep 23
to wx-...@googlegroups.com, Subscribed

Closed #25814.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25814/issue_event/19866352048@github.com>

VZ

unread,
Sep 23, 2025, 9:12:49 AM (2 days ago) Sep 23
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25814)

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.Message ID: <wxWidgets/wxWidgets/pull/25814/c3323962715@github.com>

Reply all
Reply to author
Forward
0 new messages