{"action":"created","issue":{"url":"https://api.github.com/repos/andlabs/ui/issues/97","repository_url":"https://api.github.com/repos/andlabs/ui","labels_url":"https://api.github.com/repos/andlabs/ui/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/andlabs/ui/issues/97/comments","events_url":"https://api.github.com/repos/andlabs/ui/issues/97/events","html_url":"https://github.com/andlabs/ui/issues/97","id":93661663,"number":97,"title":"Panic on Windows","user":{"login":"krolaw","id":3317970,"avatar_url":"https://avatars.githubusercontent.com/u/3317970?v=3","gravatar_id":"","url":"https://api.github.com/users/krolaw","html_url":"https://github.com/krolaw","followers_url":"https://api.github.com/users/krolaw/followers","following_url":"https://api.github.com/users/krolaw/following{/other_user}","gists_url":"https://api.github.com/users/krolaw/gists{/gist_id}","starred_url":"https://api.github.com/users/krolaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krolaw/subscriptions","organizations_url":"https://api.github.com/users/krolaw/orgs","repos_url":"https://api.github.com/users/krolaw/repos","events_url":"https://api.github.com/users/krolaw/events{/privacy}","received_events_url":"https://api.github.com/users/krolaw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-08T00:40:20Z","updated_at":"2016-06-06T02:19:44Z","closed_at":"2016-06-06T02:19:44Z","body":"Probably won't garner much interest as the lib is being rewritten, but if there is, I'll look at putting together a simple example.\r\n\r\npanic: error getting DC for preferred size calculations: Invalid window handle.\r\n\r\ngoroutine 1 [running, locked to thread]:\r\ngithub.com/andlabs/ui.xpanic(0x747c48, 0x578)\r\n        C:/Users/Patrick/go/src/github.com/andlabs/ui/common_windows.go:17 +0x13\r\n7\r\ngithub.com/andlabs/ui._Cfunc_calculateBaseUnits(0x4, 0x126b7ea0, 0x126b7e9c, 0x1\r\n26b7e98)\r\n        C:/Users/Patrick/go/src/github.com/andlabs/ui/:188 +0x3f\r\ngithub.com/andlabs/ui.beginResize(0x4, 0x12721a60)\r\n        C:/Users/Patrick/go/src/github.com/andlabs/ui/container_windows.go:53 +0\r\nx6c\r\ngithub.com/andlabs/ui.windowResize(0x12720f60, 0x18fc98)\r\n        C:/Users/Patrick/go/src/github.com/andlabs/ui/window_windows.go:89 +0x2e\r\n\r\ngithub.com/andlabs/ui._Cfunc_uimsgloop()\r\n        C:/Users/Patrick/go/src/github.com/andlabs/ui/:440 +0x3f\r\ngithub.com/andlabs/ui.uimsgloop()\r\n        C:/Users/Patrick/go/src/github.com/andlabs/ui/uitask_windows.go:45 +0x1e\r\n\r\ngithub.com/andlabs/ui.Go(0x0, 0x0)\r\n        C:/Users/Patrick/go/src/github.com/andlabs/ui/uitask.go:22 +0x69\r\nmain.main()\r\n        C:/Users/Patrick/go/src/pbx/nuideskHelper.go:29 +0xf6"},"comment":{"url":"https://api.github.com/repos/andlabs/ui/issues/comments/223855577","html_url":"https://github.com/andlabs/ui/issues/97#issuecomment-223855577","issue_url":"https://api.github.com/repos/andlabs/ui/issues/97","id":223855577,"user":{"login":"andlabs","id":718242,"avatar_url":"https://avatars.githubusercontent.com/u/718242?v=3","gravatar_id":"","url":"https://api.github.com/users/andlabs","html_url":"https://github.com/andlabs","followers_url":"https://api.github.com/users/andlabs/followers","following_url":"https://api.github.com/users/andlabs/following{/other_user}","gists_url":"https://api.github.com/users/andlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/andlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andlabs/subscriptions","organizations_url":"https://api.github.com/users/andlabs/orgs","repos_url":"https://api.github.com/users/andlabs/repos","events_url":"https://api.github.com/users/andlabs/events{/privacy}","received_events_url":"https://api.github.com/users/andlabs/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T02:19:44Z","updated_at":"2016-06-06T02:19:44Z","body":"No longer relevant to the current version of package ui."}}
{"actor":{"display_login":"andlabs"}}