- wxLogMessage("Time changed, now is %s (control value is %s).",
- event.GetDate().FormatISOTime(),
- m_timePicker->GetValue().FormatISOTime());
+ int h, m, s;
+ m_timePicker->GetTime(&h, &m, &s);
+
+ wxLogMessage("Time changed, now is %s (control value is %02d:%02d:%02d).",
+ event.GetDate().FormatISOTime(), h, m, s);