Changeset 189:f804bcfb9e49

Show
Ignore:
Timestamp:
03/14/08 21:43:59 (6 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

don't do the theming stuff for win2k and earlier

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/internal/win32/OS.d

    r188 r189  
    260260 
    261261        /* Load the manifest to force the XP Theme */ 
    262         enableVisualStyles(); 
     262        if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1)) { 
     263            enableVisualStyles(); 
     264        } 
    263265 
    264266        // when to load uxtheme