diff -r 5eb765a7a793 -r 0cdb8089a29f ui/wpf/menu.h --- a/ui/wpf/menu.h Sun Jan 25 15:01:04 2015 +0100 +++ b/ui/wpf/menu.h Tue Jan 27 09:59:32 2015 +0100 @@ -16,10 +16,14 @@ #endif UI_IMPORT void __stdcall UImenu(char *label); - +UI_IMPORT void __stdcall UIsubmenu(char *label); +UI_IMPORT void __stdcall UIsubmenu_end(); UI_IMPORT void __stdcall UImenuitem(char *label, ui_callback f, void *udata); + +void ui_menu_callback(UiObject *obj, UiEventData *e); + #ifdef __cplusplus } #endif