diff --git a/TODO.md b/TODO.md index af668b00..ea863317 100644 --- a/TODO.md +++ b/TODO.md @@ -42,6 +42,8 @@ - menu item state change while the menu is visible (not in response to user action) - figure out where we should return HRESULTs - Windows: don't abort if a cleanup function fails? +- should uiWindowOnClosing() really return an int? + - if so, should the default return 0 instead of 1? ultimately: - add some sort of runtime type checking diff --git a/ui.idl b/ui.idl index 2f44f58c..76d6fee6 100644 --- a/ui.idl +++ b/ui.idl @@ -61,7 +61,6 @@ func MakeContainer(c *Container); interface Window from Control { func Title(void) *char; func SetTitle(title *const char); - // TODO really return int? func OnClosing(f *func(w *Window, data *void) int, data *void); func SetChild(c *Control); func Margined(void) int;