summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_clistint.inc7
-rw-r--r--include/m_clistint.h2
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