diff dw.h @ 455:dd04a4d781f8

Fixes GDI font object leak when calling dw_window_set_font() on render widgets (perhaps others as well) on Windows.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 23 Jun 2003 22:50:18 +0000
parents 787cc1e27897
children 935436731b41
line wrap: on
line diff
--- a/dw.h	Mon Jun 23 17:24:54 2003 +0000
+++ b/dw.h	Mon Jun 23 22:50:18 2003 +0000
@@ -433,6 +433,7 @@
 	int vcenter;
 	HWND clickdefault;
 	HBRUSH hbrush;
+	HFONT hfont;
 	char fontname[128];
 	WNDPROC pOldProc;
 	UserData *root;