From b918496ae453d5e4e703f02d4a70474b9a84d67a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 11 Feb 2014 18:22:39 -0500 Subject: Filled in the standard window procedure. --- window.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'window.go') diff --git a/window.go b/window.go index 45ae9f3..c04d276 100644 --- a/window.go +++ b/window.go @@ -57,6 +57,7 @@ func (w *Window) Open() (err error) { // If the window has already been created, show it. if !w.created { + w.sysData.closing = w.Closing err = w.sysData.make() if err != nil { return err @@ -72,6 +73,7 @@ func (w *Window) Open() (err error) { } // Close closes the window. The window is not destroyed; it is merely hidden. +// TODO don't send on w.Closing func (w *Window) Close() (err error) { return w.sysData.hide() } -- cgit v1.2.3