Decided not to use SendMessage() in the Windows uitask() as we're already waiting for an event return anyway. Decided not to move the message-only window to an init file, as the message-only window is for uitask().
This commit is contained in:
parent
b648af160b
commit
029465e814
|
@ -61,7 +61,6 @@ func ui(main func()) error {
|
|||
|
||||
go func() {
|
||||
for m := range uitask {
|
||||
// TODO use _sendMessage instead?
|
||||
r1, _, err := _postMessage.Call(
|
||||
uintptr(hwnd),
|
||||
msgRequested,
|
||||
|
@ -124,8 +123,6 @@ func msgloop() {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO move to init?
|
||||
|
||||
const (
|
||||
msghandlerclass = "gomsghandler"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue