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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 | 136 |
137 void CPWL_Note_Edit::RePosChildWnd() | 137 void CPWL_Note_Edit::RePosChildWnd() |
138 { | 138 { |
139 m_bEnableNotify = FALSE; | 139 m_bEnableNotify = FALSE; |
140 CPWL_Edit::RePosChildWnd(); | 140 CPWL_Edit::RePosChildWnd(); |
141 m_bEnableNotify = TRUE; | 141 m_bEnableNotify = TRUE; |
142 | 142 |
143 m_fOldItemHeight = this->GetContentRect().Height(); | 143 m_fOldItemHeight = this->GetContentRect().Height(); |
144 } | 144 } |
145 | 145 |
146 void CPWL_Note_Edit::SetText(FX_LPCWSTR csText) | 146 void CPWL_Note_Edit::SetText(const FX_WCHAR* csText) |
147 { | 147 { |
148 m_bEnableNotify = FALSE; | 148 m_bEnableNotify = FALSE; |
149 CPWL_Edit::SetText(csText); | 149 CPWL_Edit::SetText(csText); |
150 m_bEnableNotify = TRUE; | 150 m_bEnableNotify = TRUE; |
151 m_fOldItemHeight = this->GetContentRect().Height(); | 151 m_fOldItemHeight = this->GetContentRect().Height(); |
152 } | 152 } |
153 | 153 |
154 void CPWL_Note_Edit::OnSetFocus() | 154 void CPWL_Note_Edit::OnSetFocus() |
155 { | 155 { |
156 m_bEnableNotify = FALSE; | 156 m_bEnableNotify = FALSE; |
(...skipping 1611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1768 CFX_WideString CPWL_Note::GetReplyString() const | 1768 CFX_WideString CPWL_Note::GetReplyString() const |
1769 { | 1769 { |
1770 return m_sReplyString; | 1770 return m_sReplyString; |
1771 } | 1771 } |
1772 | 1772 |
1773 void CPWL_Note::SetReplyString(const CFX_WideString& string) | 1773 void CPWL_Note::SetReplyString(const CFX_WideString& string) |
1774 { | 1774 { |
1775 m_sReplyString = string; | 1775 m_sReplyString = string; |
1776 } | 1776 } |
1777 | 1777 |
OLD | NEW |