# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1318224434 0 # Node ID cfe8608253a8ac31ba2abd2a132bf8e88608b154 # Parent 1255ba41adad8418a836a3667d9d5ada035c9ca0 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. diff -r 1255ba41adad -r cfe8608253a8 dwtest.c --- 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)