mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 04:19:20 +02:00
win32, wince: revert r25425 #112777a442 because it adds flickering to applications
git-svn-id: trunk@25679 -
This commit is contained in:
parent
5b42849a32
commit
1aae556694
@ -627,7 +627,7 @@ begin
|
||||
if hIcon = 0 then
|
||||
hIcon := Windows.LoadIcon(0, IDI_APPLICATION);
|
||||
hCursor := Windows.LoadCursor(0, IDC_ARROW);
|
||||
hbrBackground := GetSysColorBrush(COLOR_BTNFACE);
|
||||
hbrBackground := 0;
|
||||
LPSzMenuName := nil;
|
||||
LPSzClassName := @ClsNameW;
|
||||
end;
|
||||
@ -640,7 +640,7 @@ begin
|
||||
if WindowsVersion >= wvXP then
|
||||
style := style or CS_DROPSHADOW;
|
||||
hIcon := 0;
|
||||
hbrBackground := GetSysColorBrush(COLOR_INFOBK);
|
||||
hbrBackground := 0;
|
||||
LPSzClassName := @ClsHintNameW;
|
||||
end;
|
||||
Result := Windows.RegisterClassW(@WindowClassW) <> 0;
|
||||
@ -658,7 +658,7 @@ begin
|
||||
if hIcon = 0 then
|
||||
hIcon := Windows.LoadIcon(0, IDI_APPLICATION);
|
||||
hCursor := Windows.LoadCursor(0, IDC_ARROW);
|
||||
hbrBackground := GetSysColorBrush(COLOR_BTNFACE);
|
||||
hbrBackground := 0;
|
||||
LPSzMenuName := nil;
|
||||
LPSzClassName := @ClsName;
|
||||
end;
|
||||
@ -671,7 +671,7 @@ begin
|
||||
if WindowsVersion >= wvXP then
|
||||
style := style or CS_DROPSHADOW;
|
||||
hIcon := 0;
|
||||
hbrBackground := GetSysColorBrush(COLOR_INFOBK);
|
||||
hbrBackground := 0;
|
||||
LPSzClassName := @ClsHintName;
|
||||
end;
|
||||
Result := Windows.RegisterClass(@WindowClass) <> 0;
|
||||
|
@ -530,7 +530,7 @@ begin
|
||||
if hIcon = 0 then
|
||||
hIcon := Windows.LoadIcon(0, IDI_APPLICATION);
|
||||
hCursor := LoadCursor(0, IDC_ARROW);
|
||||
hbrBackground := GetSysColorBrush(Color_BtnFace or SYS_COLOR_INDEX_FLAG);
|
||||
hbrBackground := 0;
|
||||
LPSzMenuName := nil;
|
||||
LPSzClassName := @ClsName;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user