mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 21:10:42 +02:00
win32, wince: make sure all LoadIcon, LoadCursor go to windows unit instead of graphics
git-svn-id: trunk@30010 -
This commit is contained in:
parent
f46538af44
commit
2e3d386b9e
@ -363,7 +363,7 @@ begin
|
||||
case DialogType of
|
||||
idDialogConfirm:
|
||||
begin
|
||||
TaskConfig.hMainIcon := LoadIcon(0, IDI_QUESTION);
|
||||
TaskConfig.hMainIcon := Windows.LoadIcon(0, IDI_QUESTION);
|
||||
TaskConfig.dwFlags := TaskConfig.dwFlags or TDF_USE_HICON_MAIN;
|
||||
end;
|
||||
idDialogInfo: TaskConfig.pszMainIcon := TD_INFORMATION_ICON;
|
||||
@ -710,7 +710,7 @@ begin
|
||||
case DialogType of
|
||||
idDialogConfirm:
|
||||
begin
|
||||
TaskConfig.hMainIcon := LoadIcon(0, IDI_QUESTION);
|
||||
TaskConfig.hMainIcon := Windows.LoadIcon(0, IDI_QUESTION);
|
||||
TaskConfig.dwFlags := TaskConfig.dwFlags or TDF_USE_HICON_MAIN;
|
||||
end;
|
||||
idDialogInfo: TaskConfig.pszMainIcon := TD_INFORMATION_ICON;
|
||||
|
@ -280,7 +280,7 @@ begin
|
||||
Window.cbClsExtra := 0;
|
||||
Window.cbWndExtra := 0;
|
||||
Window.hInstance := hInstance;
|
||||
Window.hCursor := LoadCursor(0, IDC_ARROW);
|
||||
Window.hCursor := Windows.LoadCursor(0, IDC_ARROW);
|
||||
Window.hbrBackground := HBRUSH(GetStockObject(NULL_BRUSH));
|
||||
Window.lpszMenuName := nil;
|
||||
Window.lpszClassName := szClassName;
|
||||
|
@ -536,7 +536,7 @@ begin
|
||||
hIcon := Windows.LoadIcon(System.hInstance, nil);
|
||||
if hIcon = 0 then
|
||||
hIcon := Windows.LoadIcon(0, IDI_APPLICATION);
|
||||
hCursor := LoadCursor(0, IDC_ARROW);
|
||||
hCursor := Windows.LoadCursor(0, IDC_ARROW);
|
||||
hbrBackground := 0;
|
||||
LPSzMenuName := nil;
|
||||
LPSzClassName := @ClsName;
|
||||
|
Loading…
Reference in New Issue
Block a user