Opened 4 years ago

Closed 4 years ago

#12128 closed enhancement (fixed)

wxRibbonGallery OnClick event

Reported by: johnr Owned by:
Priority: normal Milestone: 2.9.2
Component: GUI-all Version: stable-latest
Keywords: wxRibbonGallery OnClick event Cc: corsix@…
Blocked By: Blocking:
Patch: yes

Description

wxRibbonGallery has an EVT_RIBBONGALLERY_SELECTED event. Subsequent clicks on an item do not generate an event and the extension button on the gallery must be clicked once an item is selected.

Attached patch adds an EVT_RIBBONGALLERY_CLICKED event for left mouse button clicks on gallery items which may be more intuitive for users.
Help doc is also updated.

Attachments (1)

ribbon_galleryclick.patch download (7.9 KB) - added by johnr 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by johnr

comment:1 Changed 4 years ago by vadz

  • Cc corsix@… added
  • Milestone changed from 2.9.1 to 2.9.2

This seems ok to apply to me (although not critical for 2.9.1), any objections?

comment:2 Changed 4 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [65077]) Add EVT_RIBBONGALLERY_CLICKED event.

This event is sent whenever an item is clicked, even if it's already selected,
unlike the existing EVT_RIBBONGALLERY_SELECTED.

Closes #12128.

Note: See TracTickets for help on using tickets.