summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 17:12:07 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 17:12:07 +0000
commit351ff7a2fed060d1d59357b8507f7a348e901767 (patch)
tree72294d4e4ad65012734aa02150a8431cb2767f1c /views
parent43fdd14f0a15825532820cd6b12c233f2fd7be5a (diff)
downloadchromium_src-351ff7a2fed060d1d59357b8507f7a348e901767.zip
chromium_src-351ff7a2fed060d1d59357b8507f7a348e901767.tar.gz
chromium_src-351ff7a2fed060d1d59357b8507f7a348e901767.tar.bz2
Fix flickering checkboxes
- Remove vestigial organ WS_EX_TRANSPARENT TEST=open option dialog|advanced and scroll, behold no flicker BUG=9974 TBR=ben Review URL: http://codereview.chromium.org/276056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29292 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/button/native_button_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/button/native_button_win.cc b/views/controls/button/native_button_win.cc
index 3425aee..d138833 100644
--- a/views/controls/button/native_button_win.cc
+++ b/views/controls/button/native_button_win.cc
@@ -186,7 +186,7 @@ bool NativeCheckboxWin::ProcessMessage(UINT message, WPARAM w_param,
void NativeCheckboxWin::CreateNativeControl() {
HWND control_hwnd = CreateWindowEx(
- WS_EX_TRANSPARENT | GetAdditionalExStyle(), L"BUTTON", L"",
+ GetAdditionalExStyle(), L"BUTTON", L"",
WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | BS_CHECKBOX,
0, 0, width(), height(), GetWidget()->GetNativeView(), NULL, NULL, NULL);
NativeControlCreated(control_hwnd);