Mercurial > projects > dwt-win
comparison dwt/internal/win32/OS.d @ 189:f804bcfb9e49
don't do the theming stuff for win2k and earlier
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 15 Mar 2008 02:43:59 +0100 |
parents | 03f179597782 |
children | 72ef824d4983 |
comparison
equal
deleted
inserted
replaced
188:03f179597782 | 189:f804bcfb9e49 |
---|---|
257 | 257 |
258 //PORTING_CHANGE: made by version | 258 //PORTING_CHANGE: made by version |
259 //IsUnicode = !IsWin32s && !IsWin95; | 259 //IsUnicode = !IsWin32s && !IsWin95; |
260 | 260 |
261 /* Load the manifest to force the XP Theme */ | 261 /* Load the manifest to force the XP Theme */ |
262 enableVisualStyles(); | 262 if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1)) { |
263 enableVisualStyles(); | |
264 } | |
263 | 265 |
264 // when to load uxtheme | 266 // when to load uxtheme |
265 if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1)) { | 267 if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1)) { |
266 loadLib( Symbols_UxTheme, `UxTheme.dll` ); | 268 loadLib( Symbols_UxTheme, `UxTheme.dll` ); |
267 } | 269 } |