diff dwtest.c @ 328:e00aff2b899e

Tree item handles are now of the type HTREEITEM instead of HWND since they were rarely actually window handles.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 08 Apr 2003 17:47:31 +0000
parents 3204b978e077
children b6491cefa512
line wrap: on
line diff
--- a/dwtest.c	Tue Apr 08 09:36:02 2003 +0000
+++ b/dwtest.c	Tue Apr 08 17:47:31 2003 +0000
@@ -376,7 +376,7 @@
 	return 0;
 }
 
-int DWSIGNAL item_select_cb( HWND window, HWND item, char *text, void *data, void *itemdata )
+int DWSIGNAL item_select_cb( HWND window, HTREEITEM item, char *text, void *data, void *itemdata )
 {
 	char buf[200];
 	HWND statline = (HWND)data;
@@ -504,7 +504,7 @@
 
 void tree_add(void)
 {
-	HWND t1,t2,t3,t4,t5,t6;
+	HTREEITEM t1,t2,t3,t4,t5,t6;
 
 	/* create a box to pack into the notebook page */
 	treebox = dw_box_new(BOXHORZ, 2);