diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-19 12:31:28 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-19 12:31:28 +0100 |
commit | 2e0f80af425efae17416064bf1427bdfb1dd0fee (patch) | |
tree | c7b8de4f3d8e4d75d2e0ae345cd053db2ff27136 /widget/windows | |
parent | 8f1c9fe4f01aaea54512fa96a296a6c0e3877404 (diff) | |
download | UXP-2e0f80af425efae17416064bf1427bdfb1dd0fee.tar UXP-2e0f80af425efae17416064bf1427bdfb1dd0fee.tar.gz UXP-2e0f80af425efae17416064bf1427bdfb1dd0fee.tar.lz UXP-2e0f80af425efae17416064bf1427bdfb1dd0fee.tar.xz UXP-2e0f80af425efae17416064bf1427bdfb1dd0fee.zip |
Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsLookAndFeel.h.
Diffstat (limited to 'widget/windows')
-rw-r--r-- | widget/windows/nsLookAndFeel.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/widget/windows/nsLookAndFeel.h b/widget/windows/nsLookAndFeel.h index e3a2d5a7b..a77808322 100644 --- a/widget/windows/nsLookAndFeel.h +++ b/widget/windows/nsLookAndFeel.h @@ -5,6 +5,7 @@ #ifndef __nsLookAndFeel #define __nsLookAndFeel + #include "nsXPLookAndFeel.h" #include "nsIWindowsRegKey.h" @@ -29,20 +30,6 @@ #define SM_CONVERTIBLESLATEMODE 0x00002003 #define SM_SYSTEMDOCKED 0x00002004 #endif -#if WINVER < 0x0601 -typedef enum _AR_STATE -{ - AR_ENABLED = 0x0, - AR_DISABLED = 0x1, - AR_SUPPRESSED = 0x2, - AR_REMOTESESSION = 0x4, - AR_MULTIMON = 0x8, - AR_NOSENSOR = 0x10, - AR_NOT_SUPPORTED = 0x20, - AR_DOCKED = 0x40, - AR_LAPTOP = 0x80 -} AR_STATE, *PAR_STATE; -#endif class nsLookAndFeel: public nsXPLookAndFeel { static OperatingSystemVersion GetOperatingSystemVersion(); |