diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-21 21:58:47 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-21 21:58:47 +0000 |
commit | 7c0fdf0c457d55b6bfdda0282cf5099057c715c7 (patch) | |
tree | 31389d750c1fb6a6e7ecdd9279d32c238a50ff62 /include | |
parent | 4d970faf406c59e807a9ffd4d7a51f1aaad6636a (diff) |
Not needed version checks removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@6172 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_clistint.inc | 7 | ||||
-rw-r--r-- | include/m_clistint.h | 2 |
2 files changed, 2 insertions, 7 deletions
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
|