Browse Source

* fix broken getmouseevent

git-svn-id: trunk@3592 -
florian 19 năm trước cách đây
mục cha
commit
d427da09d5
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      rtl/inc/mouse.inc

+ 2 - 1
rtl/inc/mouse.inc

@@ -148,7 +148,8 @@ begin
   else
     If Assigned(CurrentMouseDriver.GetMouseEvent) Then
       begin
-      LastMouseEvent:=MouseEvent;
+        LastMouseEvent:=MouseEvent;
+        CurrentMouseDriver.GetMouseEvent(MouseEvent);
       end
     else
       FillChar(MouseEvent,sizeof(TMouseEvent),0);