Changeset 423 for trunk/Packages/CevoComponents/DrawDlg.pas
- Timestamp:
- Apr 25, 2022, 6:01:01 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/DrawDlg.pas
r413 r423 1 1 unit DrawDlg; 2 2 3 {$mode delphi}{$H+}4 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, Forms, LCLIntf, LCLType, {$IFDEF LINUX}LMessages,{$ENDIF}6 Classes, SysUtils, Forms, LCLIntf, LCLType, {$IFDEF UNIX}LMessages,{$ENDIF} 9 7 Messages, Graphics, Controls, ButtonBase, ButtonA, ButtonB, Area, ScreenTools 10 8 {$IFDEF LCLGTK2}, Gtk2Globals{$ENDIF}; … … 76 74 MoveActive := False; 77 75 AddHandlerOnVisibleChanged(VisibleChangedHandler); 78 {$IFDEF LINUX}76 {$IFDEF UNIX} 79 77 OnDeactivate := DoDeactivate; 80 78 {$ENDIF} … … 131 129 MousePos1: TPoint; 132 130 MousePos2: TPoint; 133 {$IFDEF LINUX}131 {$IFDEF UNIX} 134 132 MousePosNew: TPoint; 135 133 NewFormPos: TPoint; … … 139 137 inherited; 140 138 MousePos2 := Mouse.CursorPos; 141 {$IFDEF LINUX}139 {$IFDEF UNIX} 142 140 // Only if client is not doing own mouse move handling 143 141 if not Assigned(OnMouseDown) or not Assigned(OnMouseMove) or not Assigned(OnMouseUp) then begin
Note:
See TracChangeset
for help on using the changeset viewer.