Opened 4 years ago

Closed 4 years ago

#15885 closed defect (fixed)

wxSpinCtrlDouble doesn't get focus on spin buttons pressing

Reported by: tan Owned by:
Priority: normal Milestone: 3.1.0
Component: GUI-generic Version: 3.0.0
Keywords: wxSpinCtrlDouble focus Cc:
Blocked By: Blocking:
Patch: yes


It can be seen easily in the widgets sample. Go to Spin branch and press wxSpinCtrlDouble button. Focus remains in the widgets tree.
Patch attached.

Attachments (1)

spinctlg.cpp.patch download (432 bytes) - added by tan 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by tan

comment:1 Changed 4 years ago by VZ

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

(In [75645]) Focus generic spin control when its spin button is pressed.

This is consistent with the behaviour of the native control under MSW and GTK
and generally makes sense as otherwise focus could remain on a completely
unrelated control.

Closes #15885.

Note: See TracTickets for help on using tickets.