diff dw.h @ 238:13d3de3f1e83

Rewrote the menu code to not return structs.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 18 Feb 2003 19:34:21 +0000
parents 5592cdeb29cf
children 403b07f873e1
line wrap: on
line diff
--- a/dw.h	Fri Feb 14 16:25:03 2003 +0000
+++ b/dw.h	Tue Feb 18 19:34:21 2003 +0000
@@ -308,12 +308,9 @@
 	void *bits;
 } *HPIXMAP;
 
-typedef struct _hmenui {
-	HMENU menu;
-	HWND hwnd;
-} HMENUI;
+typedef HWND HMENUI;
 
-static HMENUI DW_NOMENU = { 0, 0 };
+#define DW_NOMENU NULL
 #endif
 
 typedef struct _item {