mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Think disabling Vistas ghosting feature worked around problems caused by single-threading. Remove it.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user