Incorrect usage of wxInvalidDateTime ?

Vadim Zeitlin vadim at wxwindows.org
Wed Nov 1 06:33:44 PST 2006


On Wed, 1 Nov 2006 11:10:31 +0100 François Ingelrest <athropos at gmail.com> wrote:

FI> I hope someone may be able to explain me how I should use wxInvalidDateTime.

 You can use it as initial value for the date object which doesn't have any
valid initializer. But no other operations on wxInvalidDateTime are valid,
you should write "if ( date.IsValid() )" instead of comparing date with it.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list