Mercurial > dwindows
changeset 398:255a31a3a1f5
Change to dw_messagebox() call
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 09 May 2003 12:52:38 +0000 |
parents | a154ab15c0ed |
children | a7a561103eac |
files | dwtest.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtest.c Fri May 09 12:50:37 2003 +0000 +++ b/dwtest.c Fri May 09 12:52:38 2003 +0000 @@ -267,7 +267,6 @@ dw_window_pointer((HWND)data,DW_POINTER_ARROW); cursor_arrow = 1; } - dw_window_show(mainwindow); return FALSE; } @@ -551,7 +550,7 @@ text1pm = dw_pixmap_new( textbox1, font_width*width1, font_height*rows, depth ); text2pm = dw_pixmap_new( textbox2, font_width*cols, font_height*rows, depth ); - dw_messagebox("DWTest", "Width: %d Height: %d\n", font_width, font_height); + dw_messagebox("DWTest", DW_MB_OK|DW_MB_INFORMATION, "Width: %d Height: %d\n", font_width, font_height); dw_draw_rect(0, text1pm, TRUE, 0, 0, font_width*width1, font_height*rows); dw_draw_rect(0, text2pm, TRUE, 0, 0, font_width*cols, font_height*rows); dw_signal_connect(textbox1, DW_SIGNAL_EXPOSE, DW_SIGNAL_FUNC(text_expose), NULL);