Don't refresh wxAuiToolBar unnecessarily in wxEVT_SIZE handler (PR #26212)

2 views
Skip to first unread message

VZ

unread,
11:29 AM (11 hours ago) 11:29 AM
to wx-...@googlegroups.com, Subscribed

wxAuiToolBar gets wxEVT_SIZE events due to relayout done by wxAuiManager whenever any sash is being dragged, but this doesn't necessarily actually change its size, so avoid refreshing it in this case, as this results in very noticeable flicker, especially when the toolbar has any controls inside it.

This commit is best viewed ignoring whitespace-only changes.

Closes #26142.


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

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

Commit Summary

  • 6931aa5 Don't refresh wxAuiToolBar unnecessarily in wxEVT_SIZE handler

File Changes

(1 file)

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/26212@github.com>

VZ

unread,
12:20 PM (10 hours ago) 12:20 PM
to wx-...@googlegroups.com, Push

@vadz pushed 1 commit.

  • a144049 Don't refresh wxAuiToolBar unnecessarily in wxEVT_SIZE handler


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26212/before/6931aa5fee1a3fbffb752b934e3dddc691217a6a/after/a1440495a33fc70bed39a06d64db03e2530312df@github.com>

Reply all
Reply to author
Forward
0 new messages