On 9.10.2010 3:08, Mark Dootson wrote:
Hi,

Wx::DateTime->new() gives you the same as wxDefaultDateTime or wxInvalidDateTime, not the current datetime.

What happens when you pass this to Wx::DatePickerCtrl is defined in the docs.

i.e. Wx::DatePickerCtrl will convert to the current datetime.

However, if you pass style wxDP_ALLOWNONE, then Wx::DatePickerCtrl will contain an invalid datetime - which it indicates using an unchecked checkbox. (on mswin at least)

Hello,

thanks for the explanation. You should put it up on the wiki.

Reply via email to