diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-05 18:28:40 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-05 18:28:40 -0400 |
| commit | bb44712fad85ad7262ab6b82b3056753e4f1f20e (patch) | |
| tree | eeb508b0e252a1c30fbe2d6114e97e0270e55375 /sysdata_windows.go | |
| parent | 753f4316e23239c62d510240372d9a8cbba5e0f0 (diff) | |
Changed Checkbox on Windows to use BS_CHECKBOX instead of BS_AUTOCHECKBOX; this will be necessary to fix the focus issue in todo.md (see http://blogs.msdn.com/b/oldnewthing/archive/2014/05/22/10527522.aspx).
Diffstat (limited to 'sysdata_windows.go')
| -rw-r--r-- | sysdata_windows.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdata_windows.go b/sysdata_windows.go index d41fe58..16d625a 100644 --- a/sysdata_windows.go +++ b/sysdata_windows.go @@ -57,7 +57,8 @@ var classTypes = [nctypes]*classData{ }, c_checkbox: &classData{ name: toUTF16("BUTTON"), - style: _BS_AUTOCHECKBOX | controlstyle, + // don't use BS_AUTOCHECKBOX because http://blogs.msdn.com/b/oldnewthing/archive/2014/05/22/10527522.aspx + style: _BS_CHECKBOX | controlstyle, xstyle: 0 | controlxstyle, }, c_combobox: &classData{ |
