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 "xfa/fwl/core/cfwl_datetimepicker.h" | 7 #include "xfa/fwl/core/cfwl_datetimepicker.h" |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 } | 141 } |
142 | 142 |
143 FWL_Error CFWL_DateTimePicker::GetBBox(CFX_RectF& rect) { | 143 FWL_Error CFWL_DateTimePicker::GetBBox(CFX_RectF& rect) { |
144 return ToDateTimePicker(GetWidget())->GetBBox(rect); | 144 return ToDateTimePicker(GetWidget())->GetBBox(rect); |
145 } | 145 } |
146 | 146 |
147 FWL_Error CFWL_DateTimePicker::SetEditLimit(int32_t nLimit) { | 147 FWL_Error CFWL_DateTimePicker::SetEditLimit(int32_t nLimit) { |
148 return ToDateTimePicker(GetWidget())->SetEditLimit(nLimit); | 148 return ToDateTimePicker(GetWidget())->SetEditLimit(nLimit); |
149 } | 149 } |
150 | 150 |
151 FWL_Error CFWL_DateTimePicker::ModifyEditStylesEx(uint32_t dwStylesExAdded, | 151 void CFWL_DateTimePicker::ModifyEditStylesEx(uint32_t dwStylesExAdded, |
152 uint32_t dwStylesExRemoved) { | 152 uint32_t dwStylesExRemoved) { |
153 return ToDateTimePicker(GetWidget()) | 153 ToDateTimePicker(GetWidget()) |
154 ->ModifyEditStylesEx(dwStylesExAdded, dwStylesExRemoved); | 154 ->ModifyEditStylesEx(dwStylesExAdded, dwStylesExRemoved); |
155 } | 155 } |
OLD | NEW |