wxSpinCtrl value not updated when closing the dialog containing it
|Reported by:||andrewtrevorrow||Owned by:|
|Keywords:||regression wxSpinCtrl SetFocus||Cc:|
|Blocked By:||#14142, #14142, #14142||Blocking:|
If a dialog is created with a wxSpinCtrl and SetFocus() is called on that control then no focus ring is displayed when the dialog appears.
To see the bug, run the dialogs sample, select Dialogs > Entry dialogs > Numeric entry. The spin ctrl's text box fails to have the focus even though there is a m_spinctrl->SetFocus() call in the wxNumberEntryDialog ctor code. No such problem in wxMac 2.8.12.
Change History (13)
comment:7 follow-up: ↓ 8 Changed 22 months ago by vadz
- Blocked By 14142 added
- Status changed from new to confirmed
- Summary changed from wxOSX-Cocoa bug: wxSpinCtrl doesn't get focus if SetFocus() is called in dialog ctor to wxSpinCtrl value not updated when closing the dialog containing it
comment:12 Changed 21 months ago by vadz
- Resolution set to fixed
- Status changed from confirmed to closed