mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 09:19:50 +01:00 
			
		
		
		
	LCL, don't draw focusrect if defaultdrawing=false, from Serggey Smirnov issue #12526
git-svn-id: trunk@17183 -
This commit is contained in:
		
							parent
							
								
									6b8e6f225b
								
							
						
					
					
						commit
						f77fb72b40
					
				@ -7739,7 +7739,8 @@ var
 | 
			
		||||
  OldPenMode: TFPPenMode;
 | 
			
		||||
begin
 | 
			
		||||
  // Draw focused cell if we have the focus
 | 
			
		||||
  if Self.Focused or (EditorAlwaysShown and ((Feditor=nil) or not Feditor.Focused)) then
 | 
			
		||||
  if DefaultDrawing and (Self.Focused or
 | 
			
		||||
    (EditorAlwaysShown and ((Feditor=nil) or not Feditor.Focused))) then
 | 
			
		||||
  begin
 | 
			
		||||
    CalcFocusRect(aRect);
 | 
			
		||||
    if FUseXORFeatures then begin
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user