To support listbox #12

Merged
merged 11 commits into from May 21, 2012
Commits on Apr 21, 2012
  1. workable listbox

    ZhuBicen committed Apr 21, 2012
Commits on Apr 25, 2012
  1. more function of listbox

    ZhuBicen committed Apr 25, 2012
Commits on Apr 26, 2012
  1. fix compiling error

    ZhuBicen committed Apr 26, 2012
Commits on May 8, 2012
  1. fix typo

    ZhuBicen committed May 8, 2012
  2. remove commented code

    ZhuBicen committed May 8, 2012
  3. Both listbox.go and examples/listbox/listbox.go are missing copyright…

    ZhuBicen committed May 8, 2012
    … headers
    
    - Add yourself to the AUTHORS file
    - Add a blank line between package clause and imports as well as between different blocks of imports
    - Keep imports sorted alphabetically (doesn't go fmt do this nowadays?)
    - LB_ERR and LB_ERRSPACE need to move to go-winapi
    - Add lines "var listBoxOrigWndProcPtr uintptr" and "var _ subclassedWidget = &ListBox{}" above the ListBox type definition
    - Use listBoxOrigWndProcPtr instead of checkBoxOrigWndProcPtr in origWndProcPtr and setOrigWndProcPtr
    - NewListBox contains a TODO that should be removed
    - In NewListBox, provide window styles in two groups: first WS_, then LBS_ and sort members of both groups alphabetically
    - Replace calls to errors.New with calls to newError
    - Rename SelectedIndex[Changed] to CurrentIndex[Changed]
    - Add a SetCurrentIndex method
    - Rename the method receiver from "this" to "lb" everywhere
    - Rename DBClicked to DblClicked
  4. run gofmt on listbox.go

    ZhuBicen committed May 8, 2012
Commits on May 10, 2012
  1. list model

    ZhuBicen committed May 10, 2012
Commits on May 20, 2012
  1. remove unneeded function

    ZhuBicen committed May 20, 2012