[wx-dev] wxDateTime 'invalid value'

Armel Asselin asselin.armel at wanadoo.fr
Wed Jan 24 10:18:56 PST 2007


> AA> > Wouldn't it be better to use wxLongLong(LONG_MAX, ULONG_MAX)?
> AA> why not, finally here I chose wxLongLong(LONG_MIN, 0) (which is the =

> same
> AA> value as what I proposed before, written the right way!).
>
> Ah, yes, I didn't realize it was the same thing. Seen like this, it's much
> more clear so let's go with it indeed.
here is a patch, it's for 2.6.3, but should apply seamlessly on 2.8 (nothin=
g =

changed near this code)

Armel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wxdatetime-invalidvalue.patch
Type: application/octet-stream
Size: 600 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20070124/4c05=
2811/wxdatetime-invalidvalue.obj


More information about the wx-dev mailing list