diff os2/dw.c @ 58:5c66a108aa47

Fixed example test app at the bottom of the source to use new dw_init syntax.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 21 Nov 2001 23:37:15 +0000
parents b6948eac375a
children 61869769c050
line wrap: on
line diff
--- a/os2/dw.c	Wed Nov 21 23:30:24 2001 +0000
+++ b/os2/dw.c	Wed Nov 21 23:37:15 2001 +0000
@@ -6805,13 +6805,13 @@
 /*
  * Let's demonstrate the functionality of this library. :)
  */
-int main(void)
+int main(int argc, char *argv[])
 {
 	ULONG flStyle = DW_FCF_SYSMENU | DW_FCF_TITLEBAR |
 		DW_FCF_SHELLPOSITION | DW_FCF_TASKLIST | DW_FCF_DLGBORDER;
 	int pageid;
 
-	dw_init(TRUE);
+	dw_init(TRUE, argc, argv);
 
 	/* Try a little server dialog. :) */
 	mainwindow = dw_window_new(HWND_DESKTOP, "Server", flStyle | DW_FCF_SIZEBORDER | DW_FCF_MINMAX);