Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: xfa/fwl/core/cfwl_checkbox.cpp

Issue 2498163002: Cleanup cfwl_* files. (Closed)
Patch Set: Review feedback Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fwl/core/cfwl_checkbox.h ('k') | xfa/fwl/core/cfwl_combobox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/cfwl_checkbox.cpp
diff --git a/xfa/fwl/core/cfwl_checkbox.cpp b/xfa/fwl/core/cfwl_checkbox.cpp
index 08371fca4a42242118c925289bf08a5390a6484e..97f963b3279e4dbd5a012d97dad1a560c3f643cd 100644
--- a/xfa/fwl/core/cfwl_checkbox.cpp
+++ b/xfa/fwl/core/cfwl_checkbox.cpp
@@ -12,7 +12,7 @@
#include "xfa/fwl/core/fwl_error.h"
CFWL_CheckBox::CFWL_CheckBox(const IFWL_App* app)
- : CFWL_Widget(app), m_fBoxHeight(16.0f), m_wsCaption(L"Check box") {}
+ : CFWL_Widget(app), m_fBoxHeight(16.0f) {}
CFWL_CheckBox::~CFWL_CheckBox() {}
@@ -31,7 +31,7 @@ void CFWL_CheckBox::SetBoxSize(FX_FLOAT fHeight) {
void CFWL_CheckBox::GetCaption(IFWL_Widget* pWidget,
CFX_WideString& wsCaption) {
- wsCaption = m_wsCaption;
+ wsCaption = L"Check box";
}
FX_FLOAT CFWL_CheckBox::GetBoxSize(IFWL_Widget* pWidget) {
« no previous file with comments | « xfa/fwl/core/cfwl_checkbox.h ('k') | xfa/fwl/core/cfwl_combobox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698