Changeset 374 for trunk/Packages/CevoComponents/ScreenTools.pas
- Timestamp:
- Apr 23, 2021, 1:48:45 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/ScreenTools.pas
r352 r374 126 126 function ScaleFromNative(Value: Integer): Integer; 127 127 procedure UnshareBitmap(Bitmap: TBitmap); 128 procedure Gtk2Fix; 128 129 129 130 const … … 1663 1664 end; 1664 1665 1666 procedure Gtk2Fix; 1667 var 1668 I: Integer; 1669 begin 1670 {$IFDEF LINUX} 1671 // Wait and process messages little bit to avoid crash or force repaint under Gtk2 1672 for I := 0 to 10 do begin 1673 Sleep(1); 1674 Application.ProcessMessages; 1675 end; 1676 {$ENDIF} 1677 end; 1678 1665 1679 procedure LoadFonts; 1666 1680 var
Note:
See TracChangeset
for help on using the changeset viewer.