From e024c282d3bd32becf6910e1d3121614a9b4e1e1 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Wed, 13 Apr 2011 20:10:33 +0000 Subject: [PATCH] Think disabling Vistas ghosting feature worked around problems caused by single-threading. Remove it. --- source/main.pas | 8 -------- 1 file changed, 8 deletions(-) diff --git a/source/main.pas b/source/main.pas index 4c8b3fa6..b8b1ea34 100644 --- a/source/main.pas +++ b/source/main.pas @@ -1311,7 +1311,6 @@ var i, j: Integer; datafontname, WinState: String; datafontsize : Integer; - DisableProcessWindowsGhostingProc: procedure; QueryTab: TQueryTab; Action: TAction; dwInfoSize, // Size of VERSIONINFO structure @@ -1568,13 +1567,6 @@ begin ProgressBarStatus.Parent := StatusBar; ProgressBarStatus.Visible := False; - // Work around Vistas ghosting feature breaking the GUI - DisableProcessWindowsGhostingProc := GetProcAddress( - GetModuleHandle('user32.dll'), - 'DisableProcessWindowsGhosting'); - if Assigned(DisableProcessWindowsGhostingProc) then - DisableProcessWindowsGhostingProc; - // SynMemo font, hightlighting and shortcuts SetupSynEditors;