Mercurial > projects > dwt-win
diff dwt/internal/win32/OS.d @ 56:dcb2e04003ac
Menu
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 04 Feb 2008 12:34:19 +0100 |
parents | 1bc7c2131617 |
children | dc7db4338dbe |
line wrap: on
line diff
--- a/dwt/internal/win32/OS.d Mon Feb 04 11:08:30 2008 +0100 +++ b/dwt/internal/win32/OS.d Mon Feb 04 12:34:19 2008 +0100 @@ -67,12 +67,13 @@ version(WinCE){ public const static BOOL IsWinCE = true; + public static const BOOL IsHPC = false; //todo }else{ public const static BOOL IsWinCE = false; + public static const BOOL IsHPC = false; } public static const BOOL IsPPC_ = false; - public static const BOOL IsHPC = false; // PORTING_FIXME, is it Windows WFSP? public static const BOOL IsSP_ = false; @@ -770,7 +771,7 @@ public static const int GW_HWNDNEXT = 0x2; public static const int GW_HWNDPREV = 0x3; public static const int GW_OWNER = 0x4; - public static const int HBMMENU_CALLBACK = 0xffffffff; + public static const HBITMAP HBMMENU_CALLBACK = cast(HBITMAP) 0xffffffff; public static const int HCBT_CREATEWND = 3; public static const int HCF_HIGHCONTRASTON = 0x1; public static const int HDF_BITMAP = 0x2000;