From 7c0fdf0c457d55b6bfdda0282cf5099057c715c7 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 21 Sep 2013 21:58:47 +0000 Subject: Not needed version checks removed git-svn-id: http://svn.miranda-ng.org/main/trunk@6172 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_clistint.inc | 7 +------ include/m_clistint.h | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc index c7e8d39a8f..ce93a1ca31 100644 --- a/include/delphi/m_clistint.inc +++ b/include/delphi/m_clistint.inc @@ -589,11 +589,6 @@ end; function CLCDEFAULT_HOTTEXTCOLOUR:dword; {$IFDEF AllowInline}inline;{$ENDIF} begin -{ - if IsWinVer98Plus then - result:=RGB(0,0,255) - else -} - result:=GetSysColor(COLOR_HOTLIGHT); + result:=RGB(0,0,255); end; {$ENDIF} diff --git a/include/m_clistint.h b/include/m_clistint.h index c932042533..fdc4052a64 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -219,7 +219,7 @@ typedef struct _menuProto #define CLCDEFAULT_SELBKCOLOUR GetSysColor(COLOR_HIGHLIGHT) #define CLCDEFAULT_TEXTCOLOUR GetSysColor(COLOR_WINDOWTEXT) #define CLCDEFAULT_SELTEXTCOLOUR GetSysColor(COLOR_HIGHLIGHTTEXT) -#define CLCDEFAULT_HOTTEXTCOLOUR (IsWinVer98Plus()?RGB(0, 0, 255):GetSysColor(COLOR_HOTLIGHT)) +#define CLCDEFAULT_HOTTEXTCOLOUR RGB(0, 0, 255) #define CLCDEFAULT_QUICKSEARCHCOLOUR RGB(255, 255, 0) #define CLCDEFAULT_LEFTMARGIN 0 #define CLCDEFAULT_RIGHTMARGIN 2 -- cgit v1.2.3