From: <ah...@us...> - 2010-12-07 15:16:59
|
Revision: 12952 http://jvcl.svn.sourceforge.net/jvcl/?rev=12952&view=rev Author: ahuser Date: 2010-12-07 15:16:52 +0000 (Tue, 07 Dec 2010) Log Message: ----------- TabBar didn't respect the specified DrawRect Modified Paths: -------------- trunk/jvcl/run/JvTabBar.pas Modified: trunk/jvcl/run/JvTabBar.pas =================================================================== --- trunk/jvcl/run/JvTabBar.pas 2010-12-06 10:31:50 UTC (rev 12951) +++ trunk/jvcl/run/JvTabBar.pas 2010-12-07 15:16:52 UTC (rev 12952) @@ -2193,7 +2193,7 @@ else Brush.Color := CloseColor; - CloseR := GetCloseRect(Canvas, Tab, Tab.DisplayRect); + CloseR := GetCloseRect(Canvas, Tab, R); Pen.Color := CloseRectColor; if not Tab.Enabled then Pen.Color := CloseRectColorDisabled; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |