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;