app/internal: [Windows] support Window.Close

Signed-off-by: Egon Elbre <egonelbre@gmail.com>
This commit is contained in:
Egon Elbre
2020-06-19 13:04:26 +03:00
committed by Elias Naur
parent c35d81e828
commit 0b713032fb
4 changed files with 13 additions and 8 deletions
+2 -2
View File
@@ -211,8 +211,8 @@ func (w *Window) WriteClipboard(s string) {
// Close the window. The window's event loop should exit when it receives
// system.DestroyEvent.
//
// Currently, only the macOS driver implements this functionality, all others
// are stubbed.
// Currently, only macOS and Windows driver implements this functionality,
// all others are stubbed.
func (w *Window) Close() {
w.driverDo(func() {
w.driver.Close()