From: John L. <jla...@gm...> - 2012-06-08 02:49:55
|
On Thu, Jun 7, 2012 at 11:47 AM, Блажнов Валерий <vbl...@ya...> 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 |