Fix for right/middle click handling in `wxAuiToolBar` (PR #26243)

5 views
Skip to first unread message

VZ

unread,
Feb 24, 2026, 5:52:35 PM (yesterday) Feb 24
to wx-...@googlegroups.com, Subscribed

This started as a fix for #26242 (which is just the first commit, which will also need to be backported to 3.2) but I've also done some (ok, a lot of) cleanup.


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

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

Commit Summary

  • 00ebfc9 Fix handling right and middle clicks in vertical wxAuiToolBar
  • 3e07039 Simplify wxAuiToolBar::GetOverflowRect()
  • f07e3d1 Use wxRect::Contains() overload taking wxPoint
  • 1806e40 Only call wxGetMouseState() in wxAuiToolBar code
  • 1b840d9 Don't duplicate same code twice in wxAuiToolBar::OnRightUp()
  • 8b0f92e Remove unused wxRect variables in wxAuiToolBar mouse handlers
  • 960b815 Replace another wxRect whose position is not used with wxSize
  • 68b689f Don't push/pop event handlers for showing popup menu
  • 55a84f4 Generate wxEVT_AUITOOLBAR_MIDDLE_CLICK when not on normal item
  • 84236e8 Fold common code for right/middle button clicks in wxAuiToolBar
  • 1bfece5 Ignore commit changing naming convention in wxAUI when blaming

File Changes

(4 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/26243@github.com>

Reply all
Reply to author
Forward
0 new messages