[v3 windows] Refactor events + mappings. Fix app.Quit(). Make systray example work slightly better

This commit is contained in:
Lea Anthony
2023-07-05 20:35:45 +10:00
parent 10144adf61
commit f0bf8cd827
10 changed files with 188 additions and 71 deletions
+2 -1
View File
@@ -182,7 +182,8 @@ func (m *windowsApp) run() error {
}
func (m *windowsApp) destroy() {
//C.destroyApp()
// Post a quit message to the main thread
w32.PostQuitMessage(0)
}
func (m *windowsApp) init() {