diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-14 15:54:56 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-14 15:54:56 -0500 |
| commit | 61d7f285ac3ba1e2da84e1b8323cb45b0e8fd799 (patch) | |
| tree | 94d378573f393e79605f4513746d8e79617f683d /sysdata_windows.go | |
| parent | 9070eae214fd8054bc888f61adbea7d6749dc71b (diff) | |
Renamed sysData.editable to sysData.alternate in preparation for ListBox.
Diffstat (limited to 'sysdata_windows.go')
| -rw-r--r-- | sysdata_windows.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdata_windows.go b/sysdata_windows.go index 86187b5..bf6f31a 100644 --- a/sysdata_windows.go +++ b/sysdata_windows.go @@ -23,7 +23,7 @@ type classData struct { style uint32 xstyle uint32 mkid bool - editStyle uint32 + altStyle uint32 appendMsg uintptr insertAfterMsg uintptr deleteMsg uintptr @@ -51,7 +51,7 @@ var classTypes = [nctypes]*classData{ name: "COMBOBOX", style: _CBS_DROPDOWNLIST | controlstyle, xstyle: 0 | controlxstyle, - editStyle: _CBS_DROPDOWN | _CBS_AUTOHSCROLL | controlstyle, + altStyle: _CBS_DROPDOWN | _CBS_AUTOHSCROLL | controlstyle, appendMsg: _CB_ADDSTRING, insertAfterMsg: _CB_INSERTSTRING, deleteMsg: _CB_DELETESTRING, @@ -104,8 +104,8 @@ func (s *sysData) make(initText string, initWidth int, initHeight int, window *s classname = n } style := uintptr(ct.style) - if s.editable { - style = uintptr(ct.editStyle) + if s.alternate { + style = uintptr(ct.altStyle) } uitask <- &uimsg{ call: _createWindowEx, |
