Mercurial > dwindows
diff dwtest.c @ 2889:4b075e64536c
C++: Add some simple menu code to see if things are working.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 22 Dec 2022 19:20:39 +0000 |
parents | 86286f528adf |
children | fffb4904c90b |
line wrap: on
line diff
--- a/dwtest.c Thu Dec 22 19:08:39 2022 +0000 +++ b/dwtest.c Thu Dec 22 19:20:39 2022 +0000 @@ -1779,7 +1779,7 @@ mainmenubar = dw_menubar_new(mainwindow); /* add menus to the menubar */ menu = dw_menu_new(0); - menuitem = dw_menu_append_item( menu, "~Quit", 1019, 0, TRUE, FALSE, 0); + menuitem = dw_menu_append_item(menu, "~Quit", 1019, 0, TRUE, FALSE, 0); dw_signal_connect(menuitem, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(exit_callback), DW_POINTER(mainwindow)); /* * Add the "File" menu to the menubar...