- Timestamp:
- May 14, 2020, 9:45:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/DrawDlg.pas
r228 r229 13 13 14 14 TDrawDlg = class(TForm) 15 public16 constructor Create(AOwner: TComponent); override;17 destructor Destroy; override;18 procedure SmartInvalidate; virtual;19 15 private 20 16 MoveFormPos: TPoint; … … 33 29 procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; 34 30 procedure MouseLeave; override; 31 public 32 constructor Create(AOwner: TComponent); override; 33 destructor Destroy; override; 34 procedure SmartInvalidate; virtual; 35 35 end; 36 36 … … 127 127 inherited; 128 128 {$IFDEF LINUX} 129 if not Assigned(OnMouseDown) then begin 129 // Only if client is not doing own mouse move handling 130 if not Assigned(OnMouseDown) or not Assigned(OnMouseMove) or not Assigned(OnMouseUp) then begin 130 131 // HitTest is not supported under Linux GTK2 so use form inside move mechanizm 131 132 NewFormPos := ScreenToClient(Mouse.CursorPos);
Note:
See TracChangeset
for help on using the changeset viewer.