mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:29:27 +02:00
+ unicode fixes in TMenuBox.Draw
git-svn-id: branches/unicodekvm@48775 -
This commit is contained in:
parent
75e42870ae
commit
b6d2c6ccb7
@ -1106,7 +1106,7 @@ BEGIN
|
||||
Byte(Color), 1) else
|
||||
If (P^.Command <> 0) AND(P^.Param <> Sw_PString_Empty) Then
|
||||
Begin
|
||||
MoveCStr(B[Size.X - 3 - Length(P^.Param Sw_PString_Deref)], P^.Param Sw_PString_Deref, Color); { Add param chars }
|
||||
MoveCStr(B[Size.X - 3 - CTextWidth(P^.Param Sw_PString_Deref)], P^.Param Sw_PString_Deref, Color); { Add param chars }
|
||||
S := S + ' - ' + P^.Param Sw_PString_Deref; { Add to string }
|
||||
End;
|
||||
If (OldItem = Nil) OR (OldItem = P) OR
|
||||
|
Loading…
Reference in New Issue
Block a user