MG: small bugfixes

git-svn-id: trunk@2405 -
This commit is contained in:
lazarus 2002-08-17 23:41:20 +00:00
parent ef850cf18d
commit 4af2550576

View File

@ -400,6 +400,8 @@ begin
FGlyph.Draw(Canvas, PaintRect, Offset, FState, Transparent, 0); FGlyph.Draw(Canvas, PaintRect, Offset, FState, Transparent, 0);
if Caption <> '' then begin if Caption <> '' then begin
Canvas.Brush.Color:=clBlue;
Canvas.FillRect(PaintRect);
TXTStyle := Canvas.TextStyle; TXTStyle := Canvas.TextStyle;
TXTStyle.Opaque := False; TXTStyle.Opaque := False;
TXTStyle.Clipping := True; TXTStyle.Clipping := True;
@ -657,6 +659,9 @@ end;
{ ============================================================================= { =============================================================================
$Log$ $Log$
Revision 1.26 2002/09/12 15:35:57 lazarus
MG: small bugfixes
Revision 1.25 2002/09/06 16:14:19 lazarus Revision 1.25 2002/09/06 16:14:19 lazarus
MG: fixed removing TSpeedButton MG: fixed removing TSpeedButton