Please, see the test attached. Change the date, press "OK" and get broken date.
08.06.2012, 06:49, "John Labenski" <[email protected]>: > On Thu, Jun 7, 2012 at 11:47 AM, Блажнов Валерий <[email protected]> wrote: > >> Got the strange difference between event:GetDate() and calendar:GetDate() >> in wxCalendarCtrl event handler. If I use dt = calendar:GetDate() directly >> (ignoring event argument) for saving wxDateTime value then I have correct >> value after dialog destruction. But if I use dt = event:GetDate() then dt >> value becomes broken after dialog destruction. > > Do you have some code that demonstrates this? I can't think of any > reason why it would become "broken" and can you explain what that > means? > > Regards, > John > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > wxlua-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wxlua-users
wxLuaDateTest.rar
Description: application/rar
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ wxlua-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxlua-users
