diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-19 19:58:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-19 19:58:18 +0300 |
commit | c3e612487ea049cb24e0b512ec0a5bb214a4748b (patch) | |
tree | e9a6b9d1fd9bddae2a4a95e049a86760d41245fa /src | |
parent | 791b7433578c53e2a094b78f3c324b7a414230ea (diff) |
added CCtrlDate::SetTime
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_core/src/cctrldate.cpp | 7 | ||||
-rw-r--r-- | src/mir_core/src/mir_core.def | 3 | ||||
-rw-r--r-- | src/mir_core/src/mir_core64.def | 3 |
3 files changed, 10 insertions, 3 deletions
diff --git a/src/mir_core/src/cctrldate.cpp b/src/mir_core/src/cctrldate.cpp index 3d02083d3c..7d30d377a9 100644 --- a/src/mir_core/src/cctrldate.cpp +++ b/src/mir_core/src/cctrldate.cpp @@ -38,7 +38,12 @@ BOOL CCtrlDate::OnNotify(int, NMHDR *pnmh) return FALSE; } -void CCtrlDate::GetSystemDate(SYSTEMTIME *pDate) +void CCtrlDate::GetTime(SYSTEMTIME *pDate) +{ + ::SendMessage(m_hwnd, DTM_GETSYSTEMTIME, 0, (LPARAM)pDate); +} + +void CCtrlDate::SetTime(SYSTEMTIME *pDate) { ::SendMessage(m_hwnd, DTM_SETSYSTEMTIME, 0, (LPARAM)pDate); } diff --git a/src/mir_core/src/mir_core.def b/src/mir_core/src/mir_core.def index 216ae8776a..687ddc287a 100644 --- a/src/mir_core/src/mir_core.def +++ b/src/mir_core/src/mir_core.def @@ -1430,5 +1430,6 @@ XmlGetChildText @1645 ??0CCtrlDate@@QAE@PAVCDlgBase@@H@Z @1646 NONAME
??1CCtrlDate@@UAE@XZ @1647 NONAME
??_7CCtrlDate@@6B@ @1648 NONAME
-?GetSystemDate@CCtrlDate@@QAEXPAU_SYSTEMTIME@@@Z @1649 NONAME
+?GetTime@CCtrlDate@@QAEXPAU_SYSTEMTIME@@@Z @1649 NONAME
?OnNotify@CCtrlDate@@EAEHHPAUtagNMHDR@@@Z @1650 NONAME
+?SetTime@CCtrlDate@@QAEXPAU_SYSTEMTIME@@@Z @1651 NONAME
diff --git a/src/mir_core/src/mir_core64.def b/src/mir_core/src/mir_core64.def index 0c53c11f90..faa7e58b4d 100644 --- a/src/mir_core/src/mir_core64.def +++ b/src/mir_core/src/mir_core64.def @@ -1430,5 +1430,6 @@ XmlGetChildText @1645 ??0CCtrlDate@@QEAA@PEAVCDlgBase@@H@Z @1646 NONAME
??1CCtrlDate@@UEAA@XZ @1647 NONAME
??_7CCtrlDate@@6B@ @1648 NONAME
-?GetSystemDate@CCtrlDate@@QEAAXPEAU_SYSTEMTIME@@@Z @1649 NONAME
+?GetTime@CCtrlDate@@QEAAXPEAU_SYSTEMTIME@@@Z @1649 NONAME
?OnNotify@CCtrlDate@@EEAAHHPEAUtagNMHDR@@@Z @1650 NONAME
+?SetTime@CCtrlDate@@QEAAXPEAU_SYSTEMTIME@@@Z @1651 NONAME
|