comparison 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
comparison
equal deleted inserted replaced
1657:f7db576f6d17 1658:6fe1e91da477
1398 #define DW_INT_TO_POINTER(a) ((void *)a) 1398 #define DW_INT_TO_POINTER(a) ((void *)a)
1399 #define DW_POINTER_TO_INT(a) ((int)a) 1399 #define DW_POINTER_TO_INT(a) ((int)a)
1400 #define DW_UINT_TO_POINTER(a) ((void *)a) 1400 #define DW_UINT_TO_POINTER(a) ((void *)a)
1401 #define DW_POINTER_TO_UINT(a) ((unsigned int)a) 1401 #define DW_POINTER_TO_UINT(a) ((unsigned int)a)
1402 #endif 1402 #endif
1403 #define DW_POINTER(a) ((void *)a)
1403 1404
1404 #ifndef DW_FCF_COMPOSITED 1405 #ifndef DW_FCF_COMPOSITED
1405 #define DW_FCF_COMPOSITED 0 1406 #define DW_FCF_COMPOSITED 0
1406 #endif 1407 #endif
1407 1408