mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 16:58:25 +02:00
fixed cursor changing in designer mode (error introduced in fix #11001)
git-svn-id: trunk@11005 -
This commit is contained in:
parent
0971b9572a
commit
56e1a6af27
@ -441,6 +441,8 @@ class procedure TWin32WSWinControl.SetCursor(const AWinControl: TWinControl;
|
|||||||
begin
|
begin
|
||||||
// in win32 controls have no cursor property. they can change their cursor
|
// in win32 controls have no cursor property. they can change their cursor
|
||||||
// by listening WM_SETCURSOR and adjusting global cursor
|
// by listening WM_SETCURSOR and adjusting global cursor
|
||||||
|
if csDesigning in AWinControl.ComponentState then
|
||||||
|
Windows.SetCursor(ACursor);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
class procedure TWin32WSWinControl.ConstraintsChange(const AWinControl: TWinControl);
|
class procedure TWin32WSWinControl.ConstraintsChange(const AWinControl: TWinControl);
|
||||||
|
Loading…
Reference in New Issue
Block a user