Mercurial > dwindows
changeset 1224:cfe8608253a8
Return code of 0 from the button press callback on OS/2 was causing
issues with the popup menu... the default handler was closing it apparently.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 10 Oct 2011 05:27:14 +0000 |
parents | 1255ba41adad |
children | f5b79d8b0694 |
files | dwtest.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtest.c Mon Oct 10 04:38:45 2011 +0000 +++ b/dwtest.c Mon Oct 10 05:27:14 2011 +0000 @@ -857,7 +857,7 @@ dw_signal_connect(menuitem, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(exit_callback), (void *)mainwindow); dw_pointer_query_pos(&px, &py); dw_menu_popup(&hwndMenu, window, (int)px, (int)py); - return 0; + return TRUE; } void text_add(void)