mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 02:12:33 +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
|
||||
// in win32 controls have no cursor property. they can change their cursor
|
||||
// by listening WM_SETCURSOR and adjusting global cursor
|
||||
if csDesigning in AWinControl.ComponentState then
|
||||
Windows.SetCursor(ACursor);
|
||||
end;
|
||||
|
||||
class procedure TWin32WSWinControl.ConstraintsChange(const AWinControl: TWinControl);
|
||||
|
Loading…
Reference in New Issue
Block a user