Set up initialization on Windows (2/2).
This commit is contained in:
parent
af22eea889
commit
b727a972ad
|
@ -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...)
|
||||
|
|
Loading…
Reference in New Issue