summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-29 19:36:33 -0400
committerPietro Gagliardi <[email protected]>2014-05-29 19:36:33 -0400
commit029465e8149fee46cb28dde8b7575f7377642ef8 (patch)
treea502fc6cb7d059c4903f0fb092b03744aa0f5399
parentb648af160b36278a5c080e60d9c62e4061e6df1e (diff)
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().
-rw-r--r--uitask_windows.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/uitask_windows.go b/uitask_windows.go
index 65c6c4e..2002e7c 100644
--- a/uitask_windows.go
+++ b/uitask_windows.go
@@ -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"
)