X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..aa8e9a36c47673613f080d7578e771fe62261ef1:/include/wx/time.h?ds=sidebyside diff --git a/include/wx/time.h b/include/wx/time.h index af2e71a502..4e4bdf1535 100644 --- a/include/wx/time.h +++ b/include/wx/time.h @@ -47,7 +47,7 @@ public: wxTime() : m_time(wxDateTime::Now()) { } wxTime(clockTy s) : m_time((time_t)(s - wxTIME_EPOCH_DIFF)) { } void operator=(const wxTime& t) { m_time = t.m_time; } - wxTime(const wxTime& t) { *this = t; } + wxTime(const wxTime& t) : wxObject() { *this = t; } wxTime(hourTy h, minuteTy m, secondTy s = 0, bool WXUNUSED(dst) = FALSE) : m_time(h, m, s) { }