Think disabling Vistas ghosting feature worked around problems caused by single-threading. Remove it.

This commit is contained in:
Ansgar Becker
2011-04-13 20:10:33 +00:00
parent 6bee759971
commit e024c282d3

View File

@@ -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;