Mercurial > dwindows
diff dwtest.c @ 1221:10f5b8645975
Fixes to allow non-toplevel window handles in dw_taskbar_insert() on Windows.
Also various code and readme cleanups.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 10 Oct 2011 02:04:17 +0000 |
parents | 67ff39b9577c |
children | cfe8608253a8 |
line wrap: on
line diff
--- a/dwtest.c Mon Oct 10 00:40:22 2011 +0000 +++ b/dwtest.c Mon Oct 10 02:04:17 2011 +0000 @@ -850,8 +850,8 @@ int API context_menu_event(HWND window, int x, int y, int buttonmask, void *data) { - HMENUI hwndMenu = dw_menu_new(0L); - HWND menuitem = dw_menu_append_item(hwndMenu, "~Quit", 1019, 0L, TRUE, FALSE, DW_NOMENU); + HMENUI hwndMenu = dw_menu_new(0L); + HWND menuitem = dw_menu_append_item(hwndMenu, "~Quit", 1019, 0L, TRUE, FALSE, DW_NOMENU); long px, py; dw_signal_connect(menuitem, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(exit_callback), (void *)mainwindow);