diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 22:16:46 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 22:16:46 +0000 |
commit | 55857475658834a2aff1a896cd56d970cf20fab4 (patch) | |
tree | 455943149b84cf90abfed91582b213ff5fdac814 /views/controls/button/checkbox.h | |
parent | 04fc948392b6fba1e640bd97eeea2293d9ed9b7e (diff) | |
download | chromium_src-55857475658834a2aff1a896cd56d970cf20fab4.zip chromium_src-55857475658834a2aff1a896cd56d970cf20fab4.tar.gz chromium_src-55857475658834a2aff1a896cd56d970cf20fab4.tar.bz2 |
Fix Chexkbox::SetLabel on windows, which uses view's label instead of
native one.
Review URL: http://codereview.chromium.org/208018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/button/checkbox.h')
-rw-r--r-- | views/controls/button/checkbox.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/controls/button/checkbox.h b/views/controls/button/checkbox.h index bae6bde..e138885 100644 --- a/views/controls/button/checkbox.h +++ b/views/controls/button/checkbox.h @@ -54,6 +54,9 @@ class Checkbox : public NativeButton { virtual void WillGainFocus(); virtual void WillLoseFocus(); + // Overridden from NativeButton: + virtual void SetLabel(const std::wstring& label); + protected: virtual std::string GetClassName() const; |