| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #include "../../include/pdfwindow/PDFWindow.h" | 7 #include "../../include/pdfwindow/PDFWindow.h" |
| 8 #include "../../include/pdfwindow/PWL_Wnd.h" | 8 #include "../../include/pdfwindow/PWL_Wnd.h" |
| 9 #include "../../include/pdfwindow/PWL_Button.h" | 9 #include "../../include/pdfwindow/PWL_Button.h" |
| 10 #include "../../include/pdfwindow/PWL_EditCtrl.h" | 10 #include "../../include/pdfwindow/PWL_EditCtrl.h" |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 858 } | 858 } |
| 859 this->SetSubjectName(sSubject); | 859 this->SetSubjectName(sSubject); |
| 860 this->RePosChildWnd(); | 860 this->RePosChildWnd(); |
| 861 } | 861 } |
| 862 | 862 |
| 863 void CPWL_NoteItem::SetDateTime(FX_SYSTEMTIME time) | 863 void CPWL_NoteItem::SetDateTime(FX_SYSTEMTIME time) |
| 864 { | 864 { |
| 865 m_dtNote = time; | 865 m_dtNote = time; |
| 866 | 866 |
| 867 CFX_WideString swTime; | 867 CFX_WideString swTime; |
| 868 » swTime.Format((FX_LPCWSTR)L"%04d-%02d-%02d %02d:%02d:%02d", time.wYear,
time.wMonth, time.wDay, time.wHour, time.wMinute, time.wSecond); | 868 » swTime.Format(L"%04d-%02d-%02d %02d:%02d:%02d", time.wYear, time.wMonth,
time.wDay, time.wHour, time.wMinute, time.wSecond); |
| 869 if (m_pDateTime) | 869 if (m_pDateTime) |
| 870 { | 870 { |
| 871 m_pDateTime->SetText(swTime); | 871 m_pDateTime->SetText(swTime); |
| 872 } | 872 } |
| 873 | 873 |
| 874 this->RePosChildWnd(); | 874 this->RePosChildWnd(); |
| 875 | 875 |
| 876 if (IPWL_NoteNotify* pNotify = GetNoteNotify()) | 876 if (IPWL_NoteNotify* pNotify = GetNoteNotify()) |
| 877 { | 877 { |
| 878 pNotify->OnSetDateTime(this); | 878 pNotify->OnSetDateTime(this); |
| (...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1769 CFX_WideString CPWL_Note::GetReplyString() const | 1769 CFX_WideString CPWL_Note::GetReplyString() const |
| 1770 { | 1770 { |
| 1771 return m_sReplyString; | 1771 return m_sReplyString; |
| 1772 } | 1772 } |
| 1773 | 1773 |
| 1774 void CPWL_Note::SetReplyString(const CFX_WideString& string) | 1774 void CPWL_Note::SetReplyString(const CFX_WideString& string) |
| 1775 { | 1775 { |
| 1776 m_sReplyString = string; | 1776 m_sReplyString = string; |
| 1777 } | 1777 } |
| 1778 | 1778 |
| OLD | NEW |