wxTimePickerCtrl not firing EVT_TIME_CHANGED when changing only one value in the hour slot.

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Rival
Earned some good credits
Earned some good credits
Posts: 104
Joined: Mon Apr 20, 2015 8:07 pm

wxTimePickerCtrl not firing EVT_TIME_CHANGED when changing only one value in the hour slot.

Post by Rival » Mon Jun 01, 2015 6:36 pm

Let's say there's a TimePickerCtrl that has 12:00:00. If I click on the hour slot of the TimePickerCtrl, and type only 9, the EVT_TIME_CHANGED event does not fire. Instead it only fires after you've typed two numbers in the hour slot. So it forces you to type 09 to get the event to fire.

This is quite inconvenient for the type of program I'm writing. Does anyone know a workaround or fix for this? The DatePickerCtrl fires EVT_DATE_CHANGED correctly when only one number is typed in.

So weird...

User avatar
tierra
Site Admin
Site Admin
Posts: 1343
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

Re: wxTimePickerCtrl not firing EVT_TIME_CHANGED when changing only one value in the hour slot.

Post by tierra » Fri Jun 05, 2015 3:40 am

This could easily be a bug that should be reported to the issue tracker.

Post Reply