animatinator 0 Newbie Poster

I'm having problems with storing a wxDateTime object from a wxDatePickerCtrl in a file and then reading it again when the program starts (so I can set the date picker's value to what it was the last time the program was run). When I get the value from the date picker it's a wxDateTime object which displays as "10/18/07 00:00:00". The problem occurs when reading it from a file, as it is read as a string and the date picker gives errors saying it needs a wxDateTime object:S How can I make a wxDateTime from a string?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.