Set up initialization on Windows (2/2).

This commit is contained in:
Pietro Gagliardi 2014-02-11 16:25:27 -05:00
parent af22eea889
commit b727a972ad
2 changed files with 1 additions and 4 deletions

View File

@ -24,11 +24,8 @@ type uiret struct {
func ui(initDone chan error) {
runtime.LockOSThread()
// initialize hInstance
// initialize nCmdShow
// initialize the common window class
uitask = make(chan *uimsg)
initDone <- nil
initDone <- doWindowsInit()
for m := range uitask {
r1, _, err := m.msg.Call(m.p...)