diff dw.h @ 1658:6fe1e91da477

Added DW_POINTER() macro for casting parameters to (void *) Fixed issues with calculating buttons sizes with icons instead of bitmaps on OS/2 and Windows.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 16 Apr 2012 15:43:43 +0000
parents bbef5d25efa0
children a76fb5f1a6c8
line wrap: on
line diff
--- a/dw.h	Tue Apr 10 21:19:11 2012 +0000
+++ b/dw.h	Mon Apr 16 15:43:43 2012 +0000
@@ -1400,6 +1400,7 @@
 #define DW_UINT_TO_POINTER(a) ((void *)a)
 #define DW_POINTER_TO_UINT(a) ((unsigned int)a)
 #endif
+#define DW_POINTER(a) ((void *)a)
 
 #ifndef DW_FCF_COMPOSITED
 #define DW_FCF_COMPOSITED        0